Class: Zipper::ZipEntry
- Inherits:
-
Object
- Object
- Zipper::ZipEntry
- Defined in:
- lib/zipper/zipEntry.rb
Instance Method Summary collapse
- #buffer ⇒ Object
-
#initialize(file_name, buffer) ⇒ ZipEntry
constructor
A new instance of ZipEntry.
- #name ⇒ Object
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
#buffer ⇒ Object
12 13 14 |
# File 'lib/zipper/zipEntry.rb', line 12 def buffer @buffer end |
#name ⇒ Object
8 9 10 |
# File 'lib/zipper/zipEntry.rb', line 8 def name @name end |