Class: VORuby::ADQL::Unit
- Defined in:
- lib/voruby/adql/parser.rb,
lib/voruby/adql/transforms.rb
Instance Attribute Summary collapse
-
#unit ⇒ Object
Returns the value of attribute unit.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(unit) ⇒ Unit
constructor
A new instance of Unit.
- #to_adqls ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(unit) ⇒ Unit
Returns a new instance of Unit.
44 45 46 |
# File 'lib/voruby/adql/parser.rb', line 44 def initialize(unit) self.unit = unit end |
Instance Attribute Details
#unit ⇒ Object
Returns the value of attribute unit.
42 43 44 |
# File 'lib/voruby/adql/parser.rb', line 42 def unit @unit end |