Class DataMapper::Query::Conditions::RegexpComparison
In: lib/dm-core/query/conditions/comparison.rb
Parent: AbstractComparison

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

Methods

matches?   valid?  

Public Instance methods

Asserts that the record value matches the comparison

@param [Resource, Hash] record

  The record containing the value to be matched

@return [Boolean]

@api semipublic

Checks that the Comparison is valid

@see AbstractComparison#valid?

@api semipublic

[Validate]