Class: UEncode::Size
- Inherits:
-
Object
- Object
- UEncode::Size
- Defined in:
- lib/uencode/elements.rb
Constant Summary collapse
- ATTRIBUTES =
[:width, :height]
Instance Method Summary collapse
Instance Method Details
#to_xml ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/uencode/elements.rb', line 20 def to_xml %Q{ <size> <width>#{width}</width> <height>#{height}</heignt> </size> } end |