Class: CouchPotato::Persistence::DeepTrackedProperty

Inherits:
SimpleProperty show all
Defined in:
lib/couch_potato/persistence/deep_tracked_property.rb

Instance Attribute Summary

Attributes inherited from SimpleProperty

#name, #type

Instance Method Summary collapse

Methods inherited from SimpleProperty

#build, #serialize

Constructor Details

#initialize(owner_clazz, name, options = {}) ⇒ DeepTrackedProperty

Returns a new instance of DeepTrackedProperty.



5
6
7
8
# File 'lib/couch_potato/persistence/deep_tracked_property.rb', line 5

def initialize(owner_clazz, name, options = {})
  super
  define_accessors deep_accessors_module_for(owner_clazz), name, options
end