Class Index [+]

Quicksearch

DataMapper::Query::Conditions::RegexpComparison

Tests whether the value in the record matches the expected regexp set for the Comparison.

Public Instance Methods

valid?() click to toggle source

Checks that the Comparison is valid

@see AbstractComparison#valid?

@api semipublic

     # File lib/dm-core/query/conditions/comparison.rb, line 728
728:         def valid?
729:           loaded_value.kind_of?(Regexp)
730:         end

Private Instance Methods

comparator_string() click to toggle source

@return [String]

@see AbstractComparison#to_s

@api private

     # File lib/dm-core/query/conditions/comparison.rb, line 748
748:         def comparator_string
749:           '=~'
750:         end
typecast(value) click to toggle source

Returns the value untouched

@return [Object]

@api private

     # File lib/dm-core/query/conditions/comparison.rb, line 739
739:         def typecast(value)
740:           value
741:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.