Class: VORuby::STC::V1_30::CoordEquinoxType
- Inherits:
-
Object
- Object
- VORuby::STC::V1_30::CoordEquinoxType
- 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
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #==(c) ⇒ Object
-
#initialize(equinox) ⇒ CoordEquinoxType
constructor
A new instance of CoordEquinoxType.
- #to_s ⇒ Object
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
#value ⇒ Object
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_s ⇒ Object
6450 6451 6452 |
# File 'lib/voruby/stc/1.30/stc.rb', line 6450 def to_s self.value.to_s end |