class Gem::Package::FileSource
:nodoc: all
def initialize(path)
def initialize(path) @path = path end
def present?
def present? File.exist? path end
def start
def start @start ||= File.read path, 20 end
def with_read_io(&block)
def with_read_io(&block) File.open path, 'rb', &block end
def with_write_io(&block)
def with_write_io(&block) File.open path, 'wb', &block end