Class: VORuby::ADQL::StringType
- Inherits:
-
LiteralType
- Object
- LiteralType
- VORuby::ADQL::StringType
- Defined in:
- lib/voruby/adql/adql.rb
Overview
Represents a string literal.
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value) ⇒ StringType
constructor
A new instance of StringType.
Methods inherited from LiteralType
Constructor Details
#initialize(value) ⇒ StringType
Returns a new instance of StringType.
413 414 415 |
# File 'lib/voruby/adql/adql.rb', line 413 def initialize(value) self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
411 412 413 |
# File 'lib/voruby/adql/adql.rb', line 411 def value @value end |
Class Method Details
.from_xml(node) ⇒ Object
422 423 424 |
# File 'lib/voruby/adql/adql.rb', line 422 def self.from_xml(node) return StringType.new(node.attributes['Value']) end |