Class: PluckParser
- Inherits:
-
Object
- Object
- PluckParser
- Includes:
- ParserUtils
- Defined in:
- lib/hario/behaviours/pluck.rb
Instance Attribute Summary collapse
-
#join_clause ⇒ Object
Returns the value of attribute join_clause.
-
#pluck_clause ⇒ Object
Returns the value of attribute pluck_clause.
Instance Method Summary collapse
-
#initialize(pluck, klass) ⇒ PluckParser
constructor
A new instance of PluckParser.
Methods included from ParserUtils
#table_name_from_association_chain
Constructor Details
#initialize(pluck, klass) ⇒ PluckParser
Returns a new instance of PluckParser.
8 9 10 11 12 13 |
# File 'lib/hario/behaviours/pluck.rb', line 8 def initialize(pluck, klass) @pluck = pluck @klass = klass parse_pluck end |
Instance Attribute Details
#join_clause ⇒ Object
Returns the value of attribute join_clause.
6 7 8 |
# File 'lib/hario/behaviours/pluck.rb', line 6 def join_clause @join_clause end |
#pluck_clause ⇒ Object
Returns the value of attribute pluck_clause.
6 7 8 |
# File 'lib/hario/behaviours/pluck.rb', line 6 def pluck_clause @pluck_clause end |