Class Methods
::
lib/rubygems/package/tar_writer.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rubygems/package/tar_writer.rb, line 63
def initialize(io)
@io = io
end
Creates a new RestrictedStream
wrapping io
Instance Methods
lib/rubygems/package/tar_writer.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rubygems/package/tar_writer.rb, line 70
def write(data)
@io.write data
end
Writes data
onto the IO