summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/set.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/set.rb b/lib/set.rb
index cc7542f223..a9aa7e7936 100644
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -99,21 +99,18 @@ class Set
end
def freeze # :nodoc:
- super
@hash.freeze
- self
+ super
end
def taint # :nodoc:
- super
@hash.taint
- self
+ super
end
def untaint # :nodoc:
- super
@hash.untaint
- self
+ super
end
# Returns the number of elements.