Class Methods
::
lib/rubygems/package/tar_writer.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rubygems/package/tar_writer.rb, line 57
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-3.0.5/lib/rubygems/package/tar_writer.rb, line 64
def write(data)
@io.write data
end
Writes data
onto the IO