Class: GR::GRTickLabel
- Inherits:
-
Object
- Object
- GR::GRTickLabel
- Defined in:
- lib/gr.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#tick ⇒ Object
Returns the value of attribute tick.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(tick:, label:, width:) ⇒ GRTickLabel
constructor
A new instance of GRTickLabel.
Constructor Details
#initialize(tick:, label:, width:) ⇒ GRTickLabel
Returns a new instance of GRTickLabel.
111 112 113 114 115 |
# File 'lib/gr.rb', line 111 def initialize(tick:, label:, width:) @tick = tick @label = label @width = width end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
109 110 111 |
# File 'lib/gr.rb', line 109 def label @label end |
#tick ⇒ Object
Returns the value of attribute tick.
109 110 111 |
# File 'lib/gr.rb', line 109 def tick @tick end |
#width ⇒ Object
Returns the value of attribute width.
109 110 111 |
# File 'lib/gr.rb', line 109 def width @width end |