Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro committed Jan 29, 2010
1 parent deb9751 commit 2bf184a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/httparty/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def supports_format?

def parse_supported_format
send(format)
rescue NoMethodError
raise NotImplementedError, "#{self.class.name} has not implemented a parsing method for the #{format.inspect} format."
rescue NoMethodError
raise NotImplementedError, "#{self.class.name} has not implemented a parsing method for the #{format.inspect} format."
end
end
end

0 comments on commit 2bf184a

Please sign in to comment.