summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/hash.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/mrblib/hash.rb b/mrblib/hash.rb
index 245b76ee0..582cfbc6c 100644
--- a/mrblib/hash.rb
+++ b/mrblib/hash.rb
@@ -317,26 +317,6 @@ class Hash
}
h
end
-
- ##
- # call-seq:
- # hsh.rehash -> hsh
- #
- # Rebuilds the hash based on the current hash values for each key. If
- # values of key objects have changed since they were inserted, this
- # method will reindex <i>hsh</i>.
- #
- # h = {"AAA" => "b"}
- # h.keys[0].chop!
- # h #=> {"AA"=>"b"}
- # h["AA"] #=> nil
- # h.rehash #=> {"AA"=>"b"}
- # h["AA"] #=> "b"
- #
- def rehash
- # do nothing (for now)
- self
- end
end
##