Class: Arel::Nodes::GroupingSets
- Inherits:
-
Unary
- Object
- Unary
- Arel::Nodes::GroupingSets
- Defined in:
- lib/arel/nodes/grouping_sets.rb
Instance Method Summary collapse
-
#initialize(expr) ⇒ GroupingSets
constructor
A new instance of GroupingSets.
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 |