Class: Rose::Attribute::Pivot
- Inherits:
-
Indirect
- Object
- Rose::Attribute
- Indirect
- Rose::Attribute::Pivot
- Defined in:
- lib/rose/attribute.rb
Overview
This is a value object for pivot parameters
Instance Attribute Summary
Attributes inherited from Indirect
Attributes inherited from Rose::Attribute
Instance Method Summary collapse
Methods inherited from Indirect
Methods inherited from Rose::Attribute
Constructor Details
This class inherits a constructor from Rose::Attribute::Indirect
Instance Method Details
#on(table) ⇒ Object
44 45 46 |
# File 'lib/rose/attribute.rb', line 44 def on(table) table.pivot(pivot_column, :group_by => group_column, :values => value_block) end |