Re: numeric?

2012-12-28 Thread Intransition
> > The world at large really needs to discover YAML. > -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to ruby-talk-google+un

Re: How to deactivate RubyGems?

2012-12-28 Thread Intransition
Thanks, Florian. I thought there was I just couldn't remember how it was done. Follow-up question... Do you have any idea if this sets a flag that can be accessed from Ruby code? I'm working on a project that can be configured to omit GEM_PATH from it's searches. I was thinking that maybe I c

How to deactivate RubyGems?

2012-12-28 Thread Intransition
Is there are way to run ruby the old fashioned way -- without RubyGems? Thanks. -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email

Re: numeric?

2012-12-28 Thread Robert Klemme
On Fri, Dec 28, 2012 at 2:01 PM, Damián M. González wrote: >> The more I think about it the more I do believe it is responsibility >> of the "driver" (i.e. the bit that fetches the data) to return _proper >> data_. In this case it would mean: do not return numbers as strings. >> If values are inv

Re: numeric?

2012-12-28 Thread Robert Klemme
On Fri, Dec 28, 2012 at 1:00 AM, Brandon Weaver wrote: > I've already sorted them into classes and objects, so instance variables are > created for every antenna and other such things. The more I think about it the more I do believe it is responsibility of the "driver" (i.e. the bit that fetches

Re: numeric?

2012-12-28 Thread Robert Klemme
On Fri, Dec 28, 2012 at 5:41 AM, Damián M. González wrote: >> In these cases, I just double convert i.e. >> >> irb(main):016:0> buffer = 'fred' >> => "fred" >> irb(main):017:0> buffer.to_i.to_s == buffer >> => false > > Have to say that that's very cleaver. Very good solution. Sorry to disagree.