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