Issue #7382 has been updated by matz (Yukihiro Matsumoto).

Assignee set to nobu (Nobuyoshi Nakada)
Target version set to 2.0.0

?????c??????????????????c???????с????眼??????????????莎激????????????????腆肴?????????????с?????
筝?違???????????蕁??????????????鐚?

Matz.

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

Author: tadf (tadayoshi funaba)
Status: Open
Priority: Low
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 2.0.0
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/