= private = protected
add_symlink(name, target, mode)
Adds symlink name with permissions mode, linking to target.
# File lib/rubygems/package/tar_writer.rb, line 241 def add_symlink(name, target, mode) check_closed name, prefix = split_name name header = Gem::Package::TarHeader.new(:name => name, :mode => mode, :size => 0, :typeflag => "2", :linkname => target, :prefix => prefix, :mtime => Time.now).to_s @io.write header self end