A Container that directly wraps a directory (e.g. override/). Does not update on changes - caches the directory entries on initialize.
Public class methods
new
(path)
[show source]
# File lib/nwn/res.rb, line 115 def initialize path super() @path = path Dir[path + File::SEPARATOR + "*.*"].each {|x| begin add_file x rescue ArgumentError => e NWN.log_debug e.to_s end } end