Class: GR::GRTickLabel

Inherits:
Object
  • Object
show all
Defined in:
lib/gr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tick:, label:, width:) ⇒ GRTickLabel

Returns a new instance of GRTickLabel.



95
96
97
98
99
# File 'lib/gr.rb', line 95

def initialize(tick:, label:, width:)
  @tick = tick
  @label = label
  @width = width
end

Instance Attribute Details

#labelObject

Returns the value of attribute label.



93
94
95
# File 'lib/gr.rb', line 93

def label
  @label
end

#tickObject

Returns the value of attribute tick.



93
94
95
# File 'lib/gr.rb', line 93

def tick
  @tick
end

#widthObject

Returns the value of attribute width.



93
94
95
# File 'lib/gr.rb', line 93

def width
  @width
end