Permalink
Browse files

unneeded assignments

  • Loading branch information...
1 parent f8ef261 commit 8b0a635e6a79979f823140b3a3f21c2837182190 @toy committed Feb 4, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/image_size.rb
View
3 lib/image_size.rb
@@ -14,9 +14,6 @@ class ImageSize
# argument is image String, StringIO or IO
def initialize(data)
@data = data.dup
- @width = nil
- @height = nil
- @format = nil
if @data.is_a?(IO)
img_top = @data.read(1024)

0 comments on commit 8b0a635

Please sign in to comment.