Class: ActiveMetric::ReportViewModel::CellViewModel
- Inherits:
-
Object
- Object
- ActiveMetric::ReportViewModel::CellViewModel
- Defined in:
- lib/active_metric/report_view_model.rb
Instance Attribute Summary collapse
-
#format_options ⇒ Object
readonly
Returns the value of attribute format_options.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, format_options) ⇒ CellViewModel
constructor
A new instance of CellViewModel.
Constructor Details
#initialize(value, format_options) ⇒ CellViewModel
Returns a new instance of CellViewModel.
99 100 101 102 |
# File 'lib/active_metric/report_view_model.rb', line 99 def initialize(value, ) @value = value = end |
Instance Attribute Details
#format_options ⇒ Object (readonly)
Returns the value of attribute format_options.
97 98 99 |
# File 'lib/active_metric/report_view_model.rb', line 97 def end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
96 97 98 |
# File 'lib/active_metric/report_view_model.rb', line 96 def value @value end |