Skip to content

Commit

Permalink
Image.new can now take no arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
wadewest committed Nov 17, 2010
1 parent bd34f54 commit d3dfa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/catch_notes/image.rb
Expand Up @@ -3,7 +3,7 @@ class Image

attr_accessor :url, :data

def initialize(opts)
def initialize(opts = {})
@attr = opts
@url = nil
@data = nil
Expand Down

0 comments on commit d3dfa09

Please sign in to comment.