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