Class: PluckMap::JsonSubqueryAggregate

Inherits:
Arel::Nodes::Node
  • Object
show all
Defined in:
lib/pluck_map/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#scopeObject (readonly)

Returns the value of attribute scope.



33
34
35
# File 'lib/pluck_map/nodes.rb', line 33

def scope
  @scope
end

#selectObject (readonly)

Returns the value of attribute select.



33
34
35
# File 'lib/pluck_map/nodes.rb', line 33

def select
  @select
end