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.



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

#labelObject

Returns the value of attribute label.



109
110
111
# File 'lib/gr.rb', line 109

def label
  @label
end

#tickObject

Returns the value of attribute tick.



109
110
111
# File 'lib/gr.rb', line 109

def tick
  @tick
end

#widthObject

Returns the value of attribute width.



109
110
111
# File 'lib/gr.rb', line 109

def width
  @width
end