diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ostruct.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ostruct.rb b/lib/ostruct.rb index bbf1743247..417ecf62b3 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -130,6 +130,7 @@ class OpenStruct def each_pair return to_enum(__method__) { @table.size } unless block_given? @table.each_pair{|p| yield p} + self end # |