Parent

Methods

DataMapper::Property::ParanoidBoolean

Public Instance Methods

bind() click to toggle source

@api private

    # File lib/dm-types/paranoid_boolean.rb, line 10
10:       def bind
11:         property_name = name.inspect
12: 
13:         model.class_eval           include DataMapper::Types::Paranoid::Base          set_paranoid_property(#{property_name}) { true }          default_scope(#{repository_name.inspect}).update(#{property_name} => false), __FILE__, __LINE__ + 1
14:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.