module EasyRedis::Deleters

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source
Calls superclass method
# File lib/easy_redis/methods/deleters.rb, line 9
def method_missing(meth, *args, &block)
  (meth.to_s =~ /^redis_del_(.+)$/ || meth.to_s =~ /^r_del_(.+)$/ || meth.to_s =~ /^r_delete_(.+)$/ || meth.to_s =~ /^redis_delete_(.+)$/) ? r_del($1) : super
end
r_del(attribute) click to toggle source
# File lib/easy_redis/methods/deleters.rb, line 5
def r_del(attribute)
  self.redis_cli.hdel(redis_key, attribute)
end
Also aliased as: r_delete, redis_del, redis_delete
r_delete(attribute)
Alias for: r_del
redis_del(attribute)
Alias for: r_del
redis_delete(attribute)
Alias for: r_del