class TaskJuggler::TagFile::TagFileEntry
The TagFileEntry
class is used to store the intermediate representation of the TagFile
.
Attributes
Public Class Methods
Source
# File lib/taskjuggler/reports/TagFile.rb, line 35 def initialize(tag, file, line, kind) @tag = tag @file = file @line = line @kind = kind end
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
Public Instance Methods
Source
# File lib/taskjuggler/reports/TagFile.rb, line 43 def <=>(e) @tag <=> e.tag end
Used to sort the tag file entries by tag.