Class: DataMapper::Query::Conditions::EqualToComparison

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

Tests whether the value in the record is equal to the expected_value set for the Comparison.

### Methods

matches?

### Included Modules

RelationshipHandler

### Public Instance methods

matches?(record)

Asserts that the record value matches the comparison

@param [Resource, Hash] record

      The record containing the value to be matched

@return [Boolean] @api semipublic

[Validate]