Class: ReeHash::Except
- Inherits:
-
Object
- Object
- ReeHash::Except
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_hash/package/ree_hash/functions/except.rb
Instance Method Summary collapse
Instance Method Details
#call(hash, keys = [], **opts) ⇒ Object
31 32 33 34 35 |
# File 'lib/ree_lib/packages/ree_hash/package/ree_hash/functions/except.rb', line 31 def call(hash, keys = [], **opts) keys = build_filter_keys(keys) global_except_keys = build_filter_keys(opts[:global_except] || []) recursively_except(hash, keys, global_except_keys) end |