Class: VORuby::ADQL::IncludeTable

Inherits:
XMatchTableAlias show all
Defined in:
lib/voruby/adql/adql.rb

Overview

Used for adding a table for the Xmatch operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from XMatchTableAlias

#to_adqls, #to_s

Constructor Details

#initialize(name) ⇒ IncludeTable

Returns a new instance of IncludeTable.



870
871
872
# File 'lib/voruby/adql/adql.rb', line 870

def initialize(name)
	self.name = name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



868
869
870
# File 'lib/voruby/adql/adql.rb', line 868

def name
  @name
end

Class Method Details

.from_xml(node) ⇒ Object



874
875
876
877
# File 'lib/voruby/adql/adql.rb', line 874

def self.from_xml(node)
  name = node.attributes['Name']
  return IncludeTable.new(name)
end