Methods

DataMapper::Property::DirtyMinder

Public Instance Methods

set!(resource, value) click to toggle source

Catch any direct assignment (set), and any Resource#reload (set!).

# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.