The FileList class stores a list of file names. Each file name is unique and more information about the file is contained in FileRecord entries.
Create a new, empty FileList.
# File lib/taskjuggler/FileList.rb, line 33 def initialize @files = {} end
Add the file with fileName to the list. If it's already in the list, it will not be added again.
# File lib/taskjuggler/FileList.rb, line 39 def <<(fileName) return if fileName == '.' || @files.include?(fileName) @files[fileName] = FileRecord.new(fileName) end
Generated with the Darkfish Rdoc Generator 2.