Method: UEncode::Overlay#to_xml
- Defined in:
- lib/uencode/elements.rb
#to_xml ⇒ Object
125 126 127 128 129 130 131 132 133 |
# File 'lib/uencode/elements.rb', line 125 def to_xml %Q{ <overlay> #{!source_image.nil? ? source_image.to_xml : ""} #{[email protected]? ? @position.to_xml : ""} #{!quadrant.nil? ? '<quadrant>' + quadrant.to_s + '</quadrant>' : ""} </overlay> } end |