Module: Ckeditor::Backend::Paperclip::InstanceMethods
- Defined in:
- lib/ckeditor/backend/paperclip.rb
Instance Method Summary collapse
Instance Method Details
#geometry ⇒ Object
23 24 25 26 27 28 |
# File 'lib/ckeditor/backend/paperclip.rb', line 23 def geometry @geometry ||= begin file = data.respond_to?(:queued_for_write) ? data.queued_for_write[:original] : data.to_file ::Paperclip::Geometry.from_file(file) end end |