Class: VORuby::ADQL::InverseSearch
- Defined in:
- lib/voruby/adql/adql.rb,
lib/voruby/adql/transforms.rb
Overview
Represents expressions like Not A.
Instance Attribute Summary collapse
-
#condition ⇒ Object
Returns the value of attribute condition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(condition) ⇒ InverseSearch
constructor
A new instance of InverseSearch.
- #to_adqls ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(condition) ⇒ InverseSearch
Returns a new instance of InverseSearch.
1945 1946 1947 |
# File 'lib/voruby/adql/adql.rb', line 1945 def initialize(condition) self.condition = condition end |
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition.
1943 1944 1945 |
# File 'lib/voruby/adql/adql.rb', line 1943 def condition @condition end |
Class Method Details
.from_xml(node) ⇒ Object
1958 1959 1960 1961 1962 |
# File 'lib/voruby/adql/adql.rb', line 1958 def self.from_xml(node) cond_node = REXML::XPath.first(node, 'Condition') cond = Condition.from_xml(cond_node) return InverseSearch.new(cond) end |