class Buildr::ArchiveTask::ZipEntryData
Public Class Methods
new(zipfile, entry)
click to toggle source
# File lib/buildr/packaging/archive.rb, line 310 def initialize(zipfile, entry) @zipfile = zipfile @entry = entry end
Public Instance Methods
call(output)
click to toggle source
# File lib/buildr/packaging/archive.rb, line 315 def call(output) output.write @zipfile.read(@entry) end
mode()
click to toggle source
# File lib/buildr/packaging/archive.rb, line 319 def mode @entry.unix_perms end