Class: UEncode::Crop
- Inherits:
-
Object
- Object
- UEncode::Crop
- Defined in:
- lib/uencode/elements.rb
Constant Summary collapse
- ATTRIBUTES =
[:width, :height, :x, :y]
Instance Method Summary collapse
Instance Method Details
#to_xml ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/uencode/elements.rb', line 5 def to_xml %Q{ <crop> <width>#{width}</width> <height>#{height}</height> <x>#{x}</x> <y>#{y}</y> </crop> } end |