diff options
Diffstat (limited to 'lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb')
-rw-r--r-- | lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb b/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb index 3c4483e5dd..b16a98f782 100644 --- a/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +++ b/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb @@ -38,6 +38,10 @@ class Bundler::Thor super(convert_key(key), *args) end + def slice(*keys) + super(*keys.map{ |key| convert_key(key) }) + end + def key?(key) super(convert_key(key)) end |