Class: Arel::Nodes::GroupingSets

Inherits:
Unary
  • Object
show all
Defined in:
lib/arel/nodes/grouping_sets.rb

Instance Method Summary collapse

Constructor Details

#initialize(expr) ⇒ GroupingSets

Returns a new instance of GroupingSets.



7
8
9
10
# File 'lib/arel/nodes/grouping_sets.rb', line 7

def initialize(expr)
  super
  @expr = wrap_grouping_sets(expr)
end