Parent

Methods

Class Index [+]

Quicksearch

TaskJuggler::SourceFileInfo

Simple class that holds the info about a source file reference.

Attributes

fileName[R]
lineNo[R]
columnNo[R]

Public Class Methods

new(file, line, col) click to toggle source

Create a new SourceFileInfo object. file is the name of the file. line is the line in this file, col is the column number in the line.

    # File lib/SourceFileInfo.rb, line 22
22:     def initialize(file, line, col)
23:       @fileName = file
24:       @lineNo = line
25:       @columnNo = col
26:     end

Public Instance Methods

to_s() click to toggle source

Return the info in the common “filename:line:” format.

    # File lib/SourceFileInfo.rb, line 29
29:     def to_s
30:       # The column is not reported for now.
31:       "#{@fileName}:#{@lineNo}:"
32:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.