Method: UEncode::Position#to_xml
- Defined in:
- lib/uencode/elements.rb
#to_xml ⇒ Object
92 93 94 95 96 97 98 99 |
# File 'lib/uencode/elements.rb', line 92 def to_xml %Q{ <position> <#{x.nil? ? '<x>' + x.to_s + '</x>' : ""} <#{y.nil? ? '<y>' + y.to_s + '</y>' : ""} </position> } end |