Class: PluckMap::JsonSubqueryAggregate
- Inherits:
-
Arel::Nodes::Node
- Object
- Arel::Nodes::Node
- PluckMap::JsonSubqueryAggregate
- Defined in:
- lib/pluck_map/nodes.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#select ⇒ Object
readonly
Returns the value of attribute select.
Instance Method Summary collapse
-
#initialize(scope, select) ⇒ JsonSubqueryAggregate
constructor
A new instance of JsonSubqueryAggregate.
Constructor Details
#initialize(scope, select) ⇒ JsonSubqueryAggregate
Returns a new instance of JsonSubqueryAggregate.
35 36 37 38 |
# File 'lib/pluck_map/nodes.rb', line 35 def initialize(scope, select) @scope = scope @select = select end |
Instance Attribute Details
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
33 34 35 |
# File 'lib/pluck_map/nodes.rb', line 33 def scope @scope end |
#select ⇒ Object (readonly)
Returns the value of attribute select.
33 34 35 |
# File 'lib/pluck_map/nodes.rb', line 33 def select @select end |