On Mar 10, 2014, at 12:32 , Joel P. [email protected] wrote:
Because that isn’t a valid line of code. You don’t close the
Er, what? Yes I did. If it werent valid code, it would have thrown an
error, not returned nil.
Oh, I see. Something screwed up the second quotations during the paste.
And, more to the point, thats an example. I tested Ruby many ways to
confirm it just flat-out doesnt work.
something’.class == String
is another example. What caused me to have to run this silliness down in
the first place was when my case statements started malfunctioning;
when Fixnum then this-and-that
when String then something-else
when Array then another-option
Suddenly my code was unable to figure out what a string was.
At this point, the evidence I have here is that its just a gigantic bug
in Ruby. Installing the just-released 1.9.3p545 version made the problem
go away. Now I just have to figure out how to get Ubuntu to use the
right version . . . sigh.