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

No need to reset stream position in Payload::Base.inspect

This commit is contained in:
Pedro Chambino 2014-04-01 19:49:37 +01:00
parent 1167d389ca
commit df1477f6d5

View file

@ -114,9 +114,7 @@ module RestClient
end
def inspect
result = to_s.inspect
@stream.seek(0)
result
to_s.inspect
end
def short_inspect