Permalink
Browse files

Improve mini_magick example

  • Loading branch information...
1 parent e2b5faf commit aea8d4ce8363970598458af2a54862749a0a3284 @trevorturk trevorturk committed Aug 30, 2011
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/carrierwave/processing/mini_magick.rb
@@ -32,16 +32,15 @@ module CarrierWave
# class MyUploader < CarrierWave::Uploader::Base
# include CarrierWave::MiniMagick
#
- # process :do_stuff => 10.0
+ # process :radial_blur => 10
#
- # def do_stuff(blur_factor)
+ # def radial_blur(amount)
# manipulate! do |img|
- # img = img.sepiatone
- # img = img.auto_orient
- # img = img.radial_blur blur_factor
+ # img.radial_blur(amount)
+ # img = yield(img) if block_given?
+ # img
# end
# end
- # end
#
# === Note
#

0 comments on commit aea8d4c

Please sign in to comment.