Class: Arel::Enhance::QueryMethods::Ancestors
- Inherits:
-
QueryMethod
- Object
- QueryMethod
- Arel::Enhance::QueryMethods::Ancestors
- Defined in:
- lib/arel/enhance/query_methods.rb
Instance Attribute Summary
Attributes inherited from QueryMethod
Instance Method Summary collapse
Methods inherited from QueryMethod
Constructor Details
This class inherits a constructor from Arel::Enhance::QueryMethods::QueryMethod
Instance Method Details
#matches?(other) ⇒ Boolean
13 14 15 |
# File 'lib/arel/enhance/query_methods.rb', line 13 def matches?(other) other <= subject end |