Class: VORuby::STC::V1_30::CoordEquinoxType

Inherits:
Object
  • Object
show all
Defined in:
lib/voruby/stc/1.30/stc.rb

Overview

Coordinate equinox: Byear or Jyear with at least one decimal; do not use in conjunction with ICRS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(equinox) ⇒ CoordEquinoxType

Returns a new instance of CoordEquinoxType.



6441
6442
6443
# File 'lib/voruby/stc/1.30/stc.rb', line 6441

def initialize(equinox)
  self.value = equinox
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



6439
6440
6441
# File 'lib/voruby/stc/1.30/stc.rb', line 6439

def value
  @value
end

Instance Method Details

#==(c) ⇒ Object



6454
6455
6456
# File 'lib/voruby/stc/1.30/stc.rb', line 6454

def ==(c)
  self.value == c.value
end

#to_sObject



6450
6451
6452
# File 'lib/voruby/stc/1.30/stc.rb', line 6450

def to_s
  self.value.to_s
end