Class: Zipper::ZipEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/zipper/zipEntry.rb

Instance Method Summary collapse

Constructor Details

#initialize(file_name, buffer) ⇒ ZipEntry

Returns a new instance of ZipEntry.



3
4
5
6
# File 'lib/zipper/zipEntry.rb', line 3

def initialize(file_name, buffer)
    @name = file_name
    @buffer = buffer
end

Instance Method Details

#bufferObject



12
13
14
# File 'lib/zipper/zipEntry.rb', line 12

def buffer
    @buffer
end

#nameObject



8
9
10
# File 'lib/zipper/zipEntry.rb', line 8

def name
    @name
end