Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve mini_magick example

  • Loading branch information...
commit aea8d4ce8363970598458af2a54862749a0a3284 1 parent e2b5faf
@trevorturk trevorturk authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/carrierwave/processing/mini_magick.rb
View
11 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
#
Please sign in to comment.
Something went wrong with that request. Please try again.