Module: QueryReport::ColumnModule
- Included in:
- Report
- Defined in:
- lib/query_report/column.rb
Defined Under Namespace
Classes: Column
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
Instance Method Summary collapse
-
#column(name, options = {}, &block) ⇒ Object
- Creates a filter and adds to the filters Params:
column
- Creates a filter and adds to the filters Params:
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
8 9 10 |
# File 'lib/query_report/column.rb', line 8 def columns @columns end |
Instance Method Details
#column(name, options = {}, &block) ⇒ Object
Creates a filter and adds to the filters Params:
17 18 19 |
# File 'lib/query_report/column.rb', line 17 def column(name, ={}, &block) @columns << Column.new(self, name, , block) end |