Module: Gemmy::Patches::HashPatch::InstanceMethods::DeleteUnless

Defined in:
lib/gemmy/patches/hash_patch.rb

Instance Method Summary collapse

Instance Method Details

#delete_unlessObject

facets



235
236
237
# File 'lib/gemmy/patches/hash_patch.rb', line 235

def delete_unless #:yield:
  delete_if{ |key, value| ! yield(key, value) }
end