Re:Cryptic Ruby Global Variables and Their Meanings
by dlisboa on Sunday September 16, 2012 @10:02PM
(#4531053)
$YOUR_RUBY_PATH/lib/ruby/1.9.1/English.rb has the full list, with pretty decent explanation.
[ Parent
| on HN ]
Re:Cryptic Ruby Global Variables and Their Meanings
by twelvechairs on Sunday September 16, 2012 @10:45PM
(#4531144)
Re:Cryptic Ruby Global Variables and Their Meanings
by Empact on Monday September 17, 2012 @12:22AM
(#4531321)
Yep, if you must use the variables, much much better to use "require 'english'" and these more meaningful names than the cryptic originals.
Re:Cryptic Ruby Global Variables and Their Meanings
by zenspider on Monday September 17, 2012 @03:20AM
(#4531582)
I have a TODO in omnifocus to fold those in. It's a shame I didn't do that earlier.
Re:Cryptic Ruby Global Variables and Their Meanings
by draegtun on Monday September 17, 2012 @05:04AM
(#4531749)
I didn't realise Ruby also had this. Here's the Perl corollary:
perldoc English
perldoc perlvar
links: http://perldoc.perl.org/English.html | http://perldoc.perl.org/perlvar.html