Issue #7382 has been reported by tadf (tadayoshi funaba).

----------------------------------------
Bug #7382: Struct#each_pair???yield???????each_pair??????????檎??
https://bugs.ruby-lang.org/issues/7382

Author: tadf (tadayoshi funaba)
Status: Open
Priority: Low
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2012-11-18 trunk 37708) [i686-linux]


Struct#each_pair???篁????each_pair???違?????障?????
篁????ENV????????????assoc??с??Struct??????values????цВ???????????с?????


require 'ostruct'

h = {'a'=>1, 'b'=>2}
S = Struct.new('S', 'a', 'b')
s = S.new(1, 2)
o = OpenStruct.new(h)

h.each_pair{|x| p x}
s.each_pair{|x| p x}
o.each_pair{|x| p x}



-- 
http://bugs.ruby-lang.org/