Class: GR::GRTick

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

Overview

High-level axis/tick objects

Instance Attribute Summary collapse

Instance Method Summary collapse

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_majorObject

Returns the value of attribute is_major.



100
101
102
# File 'lib/gr.rb', line 100

def is_major
  @is_major
end

#valueObject

Returns the value of attribute value.



100
101
102
# File 'lib/gr.rb', line 100

def value
  @value
end