# File lib/familia/object.rb, line 396 def save meth=:set #Familia.trace :SAVE, Familia.redis(self.class.uri), redisuri, caller.first if Familia.debug? preprocess if respond_to?(:preprocess) self.update_time if self.respond_to?(:update_time) ret = object_proxy.send(meth, self) # object is a name reserved by Familia unless ret.nil? now = Time.now.utc.to_i self.class.instances.add now, self # use this set instead of Klass.keys object_proxy.update_expiration # does nothing unless if not specified end ret == "OK" || ret == true || ret == 1 end