Class: VORuby::STC::V1_10::Coords::Resolution
- Inherits:
-
Object
- Object
- VORuby::STC::V1_10::Coords::Resolution
- Includes:
- CResolution
- 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) ⇒ Resolution
constructor
A new instance of Resolution.
Methods included from CResolution
Methods included from SerializableToXml
Constructor Details
#initialize(value) ⇒ Resolution
Returns a new instance of Resolution.
539 540 541 |
# File 'lib/voruby/stc/1.10/coords.rb', line 539 def initialize(value) self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
537 538 539 |
# File 'lib/voruby/stc/1.10/coords.rb', line 537 def value @value end |
Class Method Details
.from_xml(xml) ⇒ Object
547 548 549 |
# File 'lib/voruby/stc/1.10/coords.rb', line 547 def self.from_xml(xml) Resolution.new(element_from(xml).text) end |