lib/cistern/hash_support.rb in cistern-2.8.2 vs lib/cistern/hash_support.rb in cistern-2.10.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module Cistern::HashSupport
- def hash_slice(*args); Cistern::Hash.slice(*args); end
- def hash_except(*args); Cistern::Hash.except(*args); end
- def hash_except!(*args); Cistern::Hash.except!(*args); end
- def hash_stringify_keys(*args); Cistern::Hash.stringify_keys(*args); end
+ def hash_slice(*args, **kwargs); Cistern::Hash.slice(*args, **kwargs); end
+ def hash_except(*args, **kwargs); Cistern::Hash.except(*args, **kwargs); end
+ def hash_except!(*args, **kwargs); Cistern::Hash.except!(*args, **kwargs); end
+ def hash_stringify_keys(*args, **kwargs); Cistern::Hash.stringify_keys(*args, **kwargs); end
end