lib/nano_store/bag.rb
def delete_key(key)
      if key.is_a?(Array)
        self.removeObjectsWithKeysInArray(key)
      else
        self.removeObjectWithKey(key)
      end
      self
    end
# Remove object from bag with key
# params: 
# key - a key or array of keys
Remove object from bag with key
params:
key - a key or array of keys
Remove object from bag with key params : key - a key or array of keys
def delete_key(key)
      if key.is_a?(Array)
        self.removeObjectsWithKeysInArray(key)
      else
        self.removeObjectWithKey(key)
      end
      self
    end
def delete_key ( key ) if key . is_a? ( Array ) self . removeObjectsWithKeysInArray ( key ) else self . removeObjectWithKey ( key ) end self end
Remove object from bag with key
params:
key - a key or array of keys
Remove object from bag with key params : key - a key or array of keys
key