Parent

Methods

Class/Module Index [+]

Quicksearch

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 17
def initialize(fileName)
  @name = fileName.dup.untaint
  @mtime = File.mtime(@name)
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.