Project

General

Profile

Feature #4239 ยป test.rb

zdavatz (Zeno Davatz), 01/21/2011 12:53 AM

 

h = {'a' => 1, 'b' => 2, 'c' => 3}
p h
h.each_key do |k|
p k
if k == 'c'
h['d'] = 4
end
end
p h
    (1-1/1)