class TaskJuggler::FileRecord

The FileRecord stores the name of a file and the modification time.

Public Class Methods

new(fileName) click to toggle source
# File lib/taskjuggler/FileList.rb, line 19
def initialize(fileName)
  @name = fileName.dup
  @mtime = File.mtime(@name)
end

Public Instance Methods

modified?() click to toggle source
# File lib/taskjuggler/FileList.rb, line 24
def modified?
  File.mtime(@name) > @mtime
end