Class: VORuby::ADQL::OrderDirection
- Defined in:
- lib/voruby/adql/adql.rb,
lib/voruby/adql/transforms.rb
Overview
Ascending or Descending order of an Order by term.
Constant Summary collapse
- @@options =
['ASC', 'DESC']
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, options_list = nil) ⇒ OrderDirection
constructor
A new instance of OrderDirection.
- #to_adqls ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(value, options_list = nil) ⇒ OrderDirection
Returns a new instance of OrderDirection.
2233 2234 2235 2236 |
# File 'lib/voruby/adql/adql.rb', line 2233 def initialize(value, =nil) @options_list = || @@options self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
2229 2230 2231 |
# File 'lib/voruby/adql/adql.rb', line 2229 def value @value end |