Class: FrozenRecord::Scope::CoverMatcher
- Defined in:
- lib/frozen_record/scope.rb
Instance Attribute Summary
Attributes inherited from Matcher
Instance Method Summary collapse
Methods inherited from Matcher
#==, for, #hash, #initialize
Constructor Details
This class inherits a constructor from FrozenRecord::Scope::Matcher
Instance Method Details
#match?(other) ⇒ Boolean
338 339 340 |
# File 'lib/frozen_record/scope.rb', line 338 def match?(other) @value.cover?(other) end |
#ranged? ⇒ Boolean
334 335 336 |
# File 'lib/frozen_record/scope.rb', line 334 def ranged? true end |