Sha256: da0c0b0c5906984986312648eb240dd104f33ced9434c32c17943d91d9b1cf9b
Contents?: true
Size: 556 Bytes
Versions: 3
Compression:
Stored size: 556 Bytes
Contents
module Zipper class FileEntry def initialize(file_name, flatten_structure = false, file_path = nil) @name = file_name @path = file_path @flatten = flatten_structure end # Entry name, used as a real path in file system def name @name end # True if existing directory structure shouldn't be preserved' def flatten @flatten end # Path of entry in a zip archive def path @path end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zipbundler-0.2.3 | lib/zipper/fileEntry.rb |
zipbundler-0.2.2 | lib/zipper/fileEntry.rb |
zipbundler-0.2.1 | lib/zipper/fileEntry.rb |