Ruby 1.9: What to Expect

OSCON 2008

Fixnum.to_sym now gone (cont'd)


 Ruby 1.9

 # Find an argument value by name or index.
 def [](index)
   lookup(index.to_sym)
 end

http://svn.ruby-lang.org/repos/ruby/trunk/lib/rake.rb