mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix hash tuple bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
efa746c6bd
commit
027d0af0d0
4 changed files with 63 additions and 11 deletions
|
|
@ -89,6 +89,10 @@ module Rinda
|
|||
@ary[key]
|
||||
end
|
||||
|
||||
def fetch(key)
|
||||
@ary.fetch(key)
|
||||
end
|
||||
|
||||
# The size of the tuple.
|
||||
def size
|
||||
@ary.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue