lib/taskjuggler/RichText/TOCEntry.rb in taskjuggler-3.2.0 vs lib/taskjuggler/RichText/TOCEntry.rb in taskjuggler-3.3.0
- old
+ new
@@ -20,10 +20,10 @@
# object. It stores the section number, the title, the file name and the name
# of the tag in this file. The tag is optional and may be nil. The object can
# be turned into an HTML tree.
class TOCEntry
- attr_reader :number, :title, :tag
+ attr_reader :number, :title, :file, :tag
# Create a TOCEntry object.
# _number_: The section number as String, e. g. '1.2.3' or 'A.3'.
# _title_: The section title as String.
# _file_: The name of the file.