Module: VORuby::STC::V1_10::Coords::CError
Overview
Substitution group for a scalar coordinate error
Instance Method Summary collapse
Methods included from SerializableToXml
Instance Method Details
#==(error) ⇒ Object
477 478 479 |
# File 'lib/voruby/stc/1.10/coords.rb', line 477 def ==(error) self.value == error.value end |
#to_s ⇒ Object
473 474 475 |
# File 'lib/voruby/stc/1.10/coords.rb', line 473 def to_s self.value.to_s end |
#to_xml ⇒ Object
481 482 483 484 485 486 |
# File 'lib/voruby/stc/1.10/coords.rb', line 481 def to_xml el = element() el.text = self.value.to_s collapse_namespaces(el) el end |