Module: VORuby::STC::V1_10::Coords::CResolution

Includes:
SerializableToXml
Included in:
Resolution, ResolutionRef
Defined in:
lib/voruby/stc/1.10/coords.rb

Overview

Substitution group for a scalar coordinate resolution

Instance Method Summary collapse

Methods included from SerializableToXml

#element

Instance Method Details

#==(res) ⇒ Object



521
522
523
# File 'lib/voruby/stc/1.10/coords.rb', line 521

def ==(res)
  self.value == res.value
end

#to_sObject



517
518
519
# File 'lib/voruby/stc/1.10/coords.rb', line 517

def to_s
  self.value.to_s
end

#to_xmlObject



525
526
527
528
529
530
# File 'lib/voruby/stc/1.10/coords.rb', line 525

def to_xml
  el = element()
  el.text = self.value.to_s
  collapse_namespaces(el)
  el
end