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.
1991 1992 1993 |
# File 'lib/voruby/adql/adql.rb', line 1991 def initialize(condition) self.condition = condition end |
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition.
1989 1990 1991 |
# File 'lib/voruby/adql/adql.rb', line 1989 def condition @condition end |
Class Method Details
.from_xml(node) ⇒ Object
2004 2005 2006 2007 2008 |
# File 'lib/voruby/adql/adql.rb', line 2004 def self.from_xml(node) cond_node = REXML::XPath.first(node, 'Condition') cond = Condition.from_xml(cond_node) return InverseSearch.new(cond) end |