Sha256: 73402df97817ab78273702a8889abae341a89036b790f48c3cd712eb96fae36c
Contents?: true
Size: 278 Bytes
Versions: 22
Compression:
Stored size: 278 Bytes
Contents
module Paperclip class Rotator < Thumbnail def transformation_command rotate = @attachment.instance.rotating? ? @attachment.instance.rotation_degrees : false if rotate super << "-rotate #{rotate}" else super end end end end
Version data entries
22 entries across 22 versions & 1 rubygems