Class: LaMetric::Frame
- Inherits:
-
Struct
- Object
- Struct
- LaMetric::Frame
- Defined in:
- lib/la_metric/frame.rb
Instance Attribute Summary collapse
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#index ⇒ Object
Returns the value of attribute index.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#icon ⇒ Object
Returns the value of attribute icon
2 3 4 |
# File 'lib/la_metric/frame.rb', line 2 def icon @icon end |
#index ⇒ Object
Returns the value of attribute index
2 3 4 |
# File 'lib/la_metric/frame.rb', line 2 def index @index end |
#text ⇒ Object
Returns the value of attribute text
2 3 4 |
# File 'lib/la_metric/frame.rb', line 2 def text @text end |
Instance Method Details
#to_json(*args) ⇒ Object
3 4 5 |
# File 'lib/la_metric/frame.rb', line 3 def to_json(*args) to_h.to_json(*args) end |