Parent

DataMapper::Property::Regexp

Public Instance Methods

dump(value) click to toggle source
    # File lib/dm-types/regexp.rb, line 11
11:       def dump(value)
12:         value.source unless value.nil?
13:       end
load(value) click to toggle source
   # File lib/dm-types/regexp.rb, line 7
7:       def load(value)
8:         ::Regexp.new(value) unless value.nil?
9:       end
typecast(value) click to toggle source
    # File lib/dm-types/regexp.rb, line 15
15:       def typecast(value)
16:         load(value)
17:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.