Class: GR::GRTick
- Inherits:
-
Object
- Object
- GR::GRTick
- Defined in:
- lib/gr.rb
Overview
High-level axis/tick objects
Instance Attribute Summary collapse
-
#is_major ⇒ Object
Returns the value of attribute is_major.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value:, is_major:) ⇒ GRTick
constructor
A new instance of GRTick.
Constructor Details
#initialize(value:, is_major:) ⇒ GRTick
Returns a new instance of GRTick.
102 103 104 105 |
# File 'lib/gr.rb', line 102 def initialize(value:, is_major:) @value = value @is_major = is_major end |
Instance Attribute Details
#is_major ⇒ Object
Returns the value of attribute is_major.
100 101 102 |
# File 'lib/gr.rb', line 100 def is_major @is_major end |
#value ⇒ Object
Returns the value of attribute value.
100 101 102 |
# File 'lib/gr.rb', line 100 def value @value end |