Sha256: 5ab6c1f44b884c3a08b1ca04ac2e87fb02ae6c058ac5170ff082d439bebeacd9

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 Bytes

Contents

module Dnnbundler
    class FileEntry
        def initialize(file_name, entry_type = FileEntryType::FILE, flatten_structure = false)
            @type = entry_type
            @name = file_name
            @flatten = flatten_structure
        end

        def add_buffer(buffer)
            @buffer = buffer
        end

        def type
            @type
        end

        def name
            @name
        end

        def flatten
            @flatten
        end

        def buffer
            @buffer
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dnnbundler-0.1.2 lib/dnnbundler/fileEntry.rb
dnnbundler-0.1.1 lib/dnnbundler/fileEntry.rb