Class: Image::Transform
- Inherits:
-
BaseFormObject
- Object
- BaseFormObject
- Image::Transform
- Defined in:
- app/forms/image/transform.rb
Instance Method Summary collapse
Methods inherited from BaseFormObject
#attributes, #initialize, #persisted?
Constructor Details
This class inherits a constructor from BaseFormObject
Instance Method Details
#to_crop_data ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/forms/image/transform.rb', line 14 def to_crop_data { x: crop_x, y: crop_y, width: crop_w, height: crop_h }.compact end |