module Gemmy::Patches::HashPatch::InstanceMethods::OnlyKeys

Public Instance Methods

only_keys?(*check_keys) click to toggle source

facets checks if these are the only keys

# File lib/gemmy/patches/hash_patch.rb, line 177
def only_keys?(*check_keys)
  unknown_keys = self.keys - check_keys
  return unknown_keys.empty?
end