From 87f4999b4f838cdbede34d76d85fb046969ad888 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 26 Sep 2024 18:54:29 +0900 Subject: [PATCH] s/accomodate/accommodate/ --- hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.rb b/hash.rb index 3103c6260b..08edb745a4 100644 --- a/hash.rb +++ b/hash.rb @@ -33,7 +33,7 @@ class Hash # If both a block and a default_value 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