diff --git a/lib/image_processing/vips.rb b/lib/image_processing/vips.rb index 474de2c..90e7109 100644 --- a/lib/image_processing/vips.rb +++ b/lib/image_processing/vips.rb @@ -109,7 +109,7 @@ def resize_to_cover(width, height, **options) # Rotates the image by an arbitrary angle. def rotate(degrees, **options) - if ([0, 90, 180, 270].include?(degrees) && options.empty?) + if ([90, 180, 270].include?(degrees) && options.empty?) rot_command = "rot#{degrees}".to_sym image.public_send rot_command else