Module: DataMapper::Property::DirtyMinder
Defined Under Namespace
Modules: Hooker
Instance Method Summary collapse
-
#set!(resource, value) ⇒ Object
Catch any direct assignment (#set), and any Resource#reload (set!).
Instance Method Details
#set!(resource, value) ⇒ Object
Catch any direct assignment (#set), and any Resource#reload (set!).
150 151 152 153 |
# File 'lib/dm-types/support/dirty_minder.rb', line 150 def set!(resource, value) hook_value(resource, value) unless value.kind_of? Hooker super end |