DataMapper::Property
# File lib/dm-core/model/hook.rb, line 86 86: def initialize(model, method) 87: @model, @method = model, method.to_sym 88: end
# File lib/dm-core/model/hook.rb, line 90 90: def call(resource) 91: resource.__send__(@method) 92: end
# File lib/dm-core/model/hook.rb, line 94 94: def copy(model) 95: self.class.new(model, @method) 96: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.