News for hackers. Stuff that matters.
Re:Cryptic Ruby Global Variables and Their Meanings by briangonzalez on Monday September 17, 2012 @02:09AM (#4531457)
True, but I have seen -- $:.unshift File.dirname(__FILE__) -- used quite a bit in the wild, especially in MacRuby projects.
Re:Cryptic Ruby Global Variables and Their Meanings by vidarh on Monday September 17, 2012 @05:20AM (#4531784)
$: and $1 .. $9 are relatively frequently used. Most of the other ones are rare - several of them I've never seen used at all.