Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
irb --> h = Hash.new({}) ==> {} irb --> h[:one] = 1 ==> 1 irb --> h ==> {:one=>1} irb --> h[:two][1] = "one" ==> "one" irb --> h ==> {:one=>1} irb --> h[:three] = 3 ==> 3 irb --> h ==> {:one=>1, :three=>3}
Pasted September 06, 2007 7:16PM EDT
by Duane Johnson (duanejohnson)
Embed
paste again