Method: Familia::RedisObject.inherited
- Defined in:
- lib/familia/redisobject.rb
.inherited(obj) ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'lib/familia/redisobject.rb', line 39 def inherited(obj) obj.db = self.db obj.ttl = self.ttl obj.uri = self.uri obj.parent = self RedisObject.classes << obj super(obj) end |