class PAKFile::FileEntrySystem
File located on a file system, not in the pack
Public Class Methods
new(pack, path, name)
click to toggle source
Calls superclass method
PAKFile::FileEntry::new
# File lib/pakspy.rb, line 216 def initialize(pack, path, name) super pack @path = path @name = name end
Public Instance Methods
read()
click to toggle source
# File lib/pakspy.rb, line 222 def read f = File.open @path, "rb" data = f.read f.close data end