Permalink
Browse files

fixed rdoc

  • Loading branch information...
1 parent 99b8d31 commit 132c59ca9549405c2622b4bc3a3cf38fd0fef3cd @banister committed Dec 7, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/devil.rb
View
4 lib/devil.rb
@@ -301,8 +301,8 @@ def resize(width, height, options = {})
# resize the image to +width+ and +height+. Aspect ratios of the image do not have to be the same.
# Applies a gaussian filter before rescaling to reduce aliasing.
- # Optional :filter hash parameter that maps to a valid scale filter
# Optional :gauss parameter - number of times to apply gaussian filter before resizing (default is 2)
+ # Optional :filter hash parameter that maps to a valid scale filter
# (see: Devil.set_options :scale_filter)
def resize2(width, height, options = {})
gauss = options[:gauss] ||= 2
@@ -314,7 +314,6 @@ def resize2(width, height, options = {})
# Creates a proportional thumbnail of the image scaled so its longest
# edge is resized to +size+.
# Optional :filter hash parameter that maps to a valid scale filter
- # Optional :gauss parameter - number of times to apply gaussian filter before resizing (default is 2)
# (see: Devil.set_options :scale_filter)
def thumbnail(size, options = {})
@@ -328,6 +327,7 @@ def thumbnail(size, options = {})
# Creates a proportional thumbnail of the image scaled so its longest
# edge is resized to +size+.
# Applies a gaussian filter before rescaling to reduce aliasing.
+ # Optional :gauss parameter - number of times to apply gaussian filter before resizing (default is 2)
# Optional :filter hash parameter that maps to a valid scale filter
# (see: Devil.set_options :scale_filter)
def thumbnail2(size, options = {})

0 comments on commit 132c59c

Please sign in to comment.