class TaskJuggler::TagFile::TagFileEntry
The TagFileEntry
class is used to store the intermediate representation of the TagFile
.
Attributes
file[R]
kind[R]
line[R]
tag[R]
Public Class Methods
new(tag, file, line, kind)
click to toggle source
Create a new TagFileEntry
object. tag is the property ID. file is the source file name, line the line number in this file. kind specifies the property type. The following types should be used: r : Resource
t : Task
p : Report
# File lib/taskjuggler/reports/TagFile.rb, line 35 def initialize(tag, file, line, kind) @tag = tag @file = file @line = line @kind = kind end
Public Instance Methods
<=>(e)
click to toggle source
Used to sort the tag file entries by tag.
# File lib/taskjuggler/reports/TagFile.rb, line 43 def <=>(e) @tag <=> e.tag end