Class: BarChartRange
- Inherits:
-
Object
- Object
- BarChartRange
- Includes:
- ValueEquality
- Defined in:
- lib/jirametrics/bar_chart_range.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#highlight ⇒ Object
Returns the value of attribute highlight.
-
#start ⇒ Object
Returns the value of attribute start.
-
#stop ⇒ Object
Returns the value of attribute stop.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(start:, stop:, color:, title:, highlight: false) ⇒ BarChartRange
constructor
A new instance of BarChartRange.
Methods included from ValueEquality
Constructor Details
#initialize(start:, stop:, color:, title:, highlight: false) ⇒ BarChartRange
Returns a new instance of BarChartRange.
10 11 12 13 14 15 16 |
# File 'lib/jirametrics/bar_chart_range.rb', line 10 def initialize start:, stop:, color:, title:, highlight: false @start = start @stop = stop @color = color @title = title @highlight = highlight end |
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
8 9 10 |
# File 'lib/jirametrics/bar_chart_range.rb', line 8 def color @color end |
#highlight ⇒ Object
Returns the value of attribute highlight.
8 9 10 |
# File 'lib/jirametrics/bar_chart_range.rb', line 8 def highlight @highlight end |
#start ⇒ Object
Returns the value of attribute start.
8 9 10 |
# File 'lib/jirametrics/bar_chart_range.rb', line 8 def start @start end |
#stop ⇒ Object
Returns the value of attribute stop.
8 9 10 |
# File 'lib/jirametrics/bar_chart_range.rb', line 8 def stop @stop end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/jirametrics/bar_chart_range.rb', line 8 def title @title end |