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
333 334 335 |
# File 'lib/frozen_record/scope.rb', line 333 def match?(other) @value.include?(other) end |
#ranged? ⇒ Boolean
329 330 331 |
# File 'lib/frozen_record/scope.rb', line 329 def ranged? true end |