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