Class: ReportsKit::Reports::Data::FormatTable
- Inherits:
-
Object
- Object
- ReportsKit::Reports::Data::FormatTable
- Defined in:
- lib/reports_kit/reports/data/format_table.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#first_column_label ⇒ Object
Returns the value of attribute first_column_label.
-
#format ⇒ Object
Returns the value of attribute format.
-
#report_options ⇒ Object
Returns the value of attribute report_options.
Instance Method Summary collapse
-
#initialize(data, format:, first_column_label:, report_options:) ⇒ FormatTable
constructor
A new instance of FormatTable.
- #perform ⇒ Object
Constructor Details
#initialize(data, format:, first_column_label:, report_options:) ⇒ FormatTable
Returns a new instance of FormatTable.
7 8 9 10 11 12 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 7 def initialize(data, format:, first_column_label:, report_options:) self.data = data self.format = format self.first_column_label = first_column_label self. = || {} end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 5 def data @data end |
#first_column_label ⇒ Object
Returns the value of attribute first_column_label.
5 6 7 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 5 def first_column_label @first_column_label end |
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 5 def format @format end |
#report_options ⇒ Object
Returns the value of attribute report_options.
5 6 7 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 5 def @report_options end |
Instance Method Details
#perform ⇒ Object
14 15 16 |
# File 'lib/reports_kit/reports/data/format_table.rb', line 14 def perform table_data end |