Class: ActiveMetric::ReportViewModel::ColumnTemplate
- Inherits:
-
Object
- Object
- ActiveMetric::ReportViewModel::ColumnTemplate
- Defined in:
- lib/active_metric/report_view_model.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#format_options ⇒ Object
readonly
Returns the value of attribute format_options.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
Instance Method Summary collapse
-
#initialize(header, field, format_options) ⇒ ColumnTemplate
constructor
A new instance of ColumnTemplate.
Constructor Details
#initialize(header, field, format_options) ⇒ ColumnTemplate
Returns a new instance of ColumnTemplate.
54 55 56 57 58 |
# File 'lib/active_metric/report_view_model.rb', line 54 def initialize(header, field, ) @header = header @field = field = end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
51 52 53 |
# File 'lib/active_metric/report_view_model.rb', line 51 def field @field end |
#format_options ⇒ Object (readonly)
Returns the value of attribute format_options.
52 53 54 |
# File 'lib/active_metric/report_view_model.rb', line 52 def end |
#header ⇒ Object (readonly)
Returns the value of attribute header.
50 51 52 |
# File 'lib/active_metric/report_view_model.rb', line 50 def header @header end |