Module: VORuby::STC::V1_10::Coords::CError

Includes:
SerializableToXml
Included in:
Error, ErrorRef
Defined in:
lib/voruby/stc/1.10/coords.rb

Overview

Substitution group for a scalar coordinate error

Instance Method Summary collapse

Methods included from SerializableToXml

#element

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_sObject



473
474
475
# File 'lib/voruby/stc/1.10/coords.rb', line 473

def to_s
  self.value.to_s
end

#to_xmlObject



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