Class: VORuby::STC::V1_10::Coords::Value
- Inherits:
-
Object
- Object
- VORuby::STC::V1_10::Coords::Value
- Includes:
- CValue
- Defined in:
- lib/voruby/stc/1.10/coords.rb
Overview
double
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value) ⇒ Value
constructor
A new instance of Value.
Methods included from CValue
Methods included from SerializableToXml
Constructor Details
#initialize(value) ⇒ Value
Returns a new instance of Value.
451 452 453 |
# File 'lib/voruby/stc/1.10/coords.rb', line 451 def initialize(value) self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
449 450 451 |
# File 'lib/voruby/stc/1.10/coords.rb', line 449 def value @value end |
Class Method Details
.from_xml(xml) ⇒ Object
459 460 461 |
# File 'lib/voruby/stc/1.10/coords.rb', line 459 def self.from_xml(xml) Value.new(element_from(xml).text) end |