In Files

Parent

Methods

Class 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/FileList.rb, line 19
19:     def initialize(fileName)
20:       @name = fileName.dup.untaint
21:       @mtime = File.mtime(@name)
22:     end

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.