1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

putting the exception class in the to_s is redundant

This commit is contained in:
Julien Kirch 2010-07-02 18:33:16 +02:00
parent d5e13e0958
commit fe3e1197f8

View file

@ -99,7 +99,11 @@ module RestClient
end
def inspect
"#{self.class} : #{http_code} #{message}"
"#{message} #{http_code}"
end
def to_s
inspect
end
end