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:
parent
1167d389ca
commit
df1477f6d5
1 changed files with 1 additions and 3 deletions
|
@ -114,9 +114,7 @@ module RestClient
|
|||
end
|
||||
|
||||
def inspect
|
||||
result = to_s.inspect
|
||||
@stream.seek(0)
|
||||
result
|
||||
to_s.inspect
|
||||
end
|
||||
|
||||
def short_inspect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue