Module: ImageProxyRuby::Operations::Rotation

Included in:
Image
Defined in:
lib/image_proxy/operations/rotation.rb

Overview

add rotation functionality to image

Instance Method Summary collapse

Instance Method Details

#rotation(degrees) ⇒ Object



7
8
9
10
11
# File 'lib/image_proxy/operations/rotation.rb', line 7

def rotation(degrees)
  operations << "r#{degrees}"

  self
end