Class: FrozenRecord::Scope::IncludeMatcher
- 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
328 329 330 |
# File 'lib/frozen_record/scope.rb', line 328 def match?(other) @value.include?(other) end |
#ranged? ⇒ Boolean
324 325 326 |
# File 'lib/frozen_record/scope.rb', line 324 def ranged? true end |