mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc1
is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
This commit is contained in:
parent
a46841612c
commit
b717f73402
274 changed files with 0 additions and 672 deletions
|
@ -7,7 +7,6 @@
|
|||
# object to `Gem::Package.new`.
|
||||
|
||||
class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all
|
||||
|
||||
attr_reader :path
|
||||
|
||||
def initialize(path)
|
||||
|
@ -29,5 +28,4 @@ class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all
|
|||
def with_read_io(&block)
|
||||
File.open path, 'rb', &block
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue