Class: VORuby::STC::V1_10::Coords::Error
- Inherits:
-
Object
- Object
- VORuby::STC::V1_10::Coords::Error
- Includes:
- CError
- 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) ⇒ Error
constructor
A new instance of Error.
Methods included from CError
Methods included from SerializableToXml
Constructor Details
#initialize(value) ⇒ Error
Returns a new instance of Error.
495 496 497 |
# File 'lib/voruby/stc/1.10/coords.rb', line 495 def initialize(value) self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
493 494 495 |
# File 'lib/voruby/stc/1.10/coords.rb', line 493 def value @value end |
Class Method Details
.from_xml(xml) ⇒ Object
503 504 505 |
# File 'lib/voruby/stc/1.10/coords.rb', line 503 def self.from_xml(xml) Error.new(element_from(xml).text) end |