Class: PAKFile::FileEntry
- Inherits:
-
Object
- Object
- PAKFile::FileEntry
- Defined in:
- lib/pakspy.rb
Overview
Base class for all files handled by PAKFile
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(pack) ⇒ FileEntry
constructor
pack
has to be PAKFile that owns this entry. - #read ⇒ Object
Constructor Details
#initialize(pack) ⇒ FileEntry
pack
has to be PAKFile that owns this entry
180 181 182 183 |
# File 'lib/pakspy.rb', line 180 def initialize(pack) @pack = pack @name = "" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
176 177 178 |
# File 'lib/pakspy.rb', line 176 def name @name end |
Instance Method Details
#read ⇒ Object
185 186 187 188 |
# File 'lib/pakspy.rb', line 185 def read puts "This is just a base class..." "" end |