diff options
Diffstat (limited to 'lib/set.rb')
-rw-r--r-- | lib/set.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/set.rb b/lib/set.rb index 37332e1fa6..935c07c3e0 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -178,6 +178,7 @@ class Set # the element as parameter. def each @hash.each_key { |o| yield(o) } + self end # Adds the given object to the set and returns self. |