if I'm reading text representing a numeric integer from the program arguments, what's the best way to convert it to an integer?
The closest I can get to this is to convert it to a decimal value:
System programArguments first toDecimal
Just for posterity:
At the moment you achieve this using toRational. I've been meaning to
possibly change the name of this conversion method though - so we'll see.
Ola Bini (http://olabini.com)
Ioke - JRuby - ThoughtWorks
"Yields falsehood when quined" yields falsehood when quined.