mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9
This commit is contained in:
parent
29f6f79e73
commit
896bbb9fad
Notes:
git
2021-07-14 10:48:43 +09:00
45 changed files with 537 additions and 448 deletions
|
@ -32,10 +32,14 @@ class Gem::Package::IOSource < Gem::Package::Source # :nodoc: all
|
|||
|
||||
def with_read_io
|
||||
yield io
|
||||
ensure
|
||||
io.rewind
|
||||
end
|
||||
|
||||
def with_write_io
|
||||
yield io
|
||||
ensure
|
||||
io.rewind
|
||||
end
|
||||
|
||||
def path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue