Class: Arel::Enhance::QueryMethods::QueryMethod
- Inherits:
-
Object
- Object
- Arel::Enhance::QueryMethods::QueryMethod
- Defined in:
- lib/arel/enhance/query_methods.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(subject) ⇒ QueryMethod
constructor
A new instance of QueryMethod.
Constructor Details
#initialize(subject) ⇒ QueryMethod
Returns a new instance of QueryMethod.
7 8 9 |
# File 'lib/arel/enhance/query_methods.rb', line 7 def initialize(subject) @subject = subject end |
Instance Attribute Details
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
5 6 7 |
# File 'lib/arel/enhance/query_methods.rb', line 5 def subject @subject end |