s/accomodate/accommodate/
This commit is contained in:
parent
cc1e1e77d5
commit
87f4999b4f
Notes:
git
2024-09-26 11:01:39 +00:00
2
hash.rb
2
hash.rb
@ -33,7 +33,7 @@ class Hash
|
||||
# If both a block and a <tt>default_value</tt> are given, raises an +ArgumentError+
|
||||
#
|
||||
# If the optional keyword argument +capacity+ is given, the hash will be allocated
|
||||
# with enough capacity to accomodate this many keys without having to be resized.
|
||||
# with enough capacity to accommodate this many keys without having to be resized.
|
||||
def initialize(ifnone = (ifnone_unset = true), capacity: 0, &block)
|
||||
Primitive.rb_hash_init(capacity, ifnone_unset, ifnone, block)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user