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.
2285 2286 2287 2288 |
# File 'lib/voruby/adql/adql.rb', line 2285 def initialize(value, =nil) @options_list = || @@options self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
2281 2282 2283 |
# File 'lib/voruby/adql/adql.rb', line 2281 def value @value end |