Methods

Class/Module 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
def valid?
  loaded_value.kind_of?(Regexp)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.