Class: Tendersync::Document::Group
- Defined in:
- lib/tendersync/document.rb
Constant Summary collapse
- Default =
Group.new('Other')
Instance Attribute Summary collapse
-
#title_regex ⇒ Object
readonly
Returns the value of attribute title_regex.
Attributes inherited from TOCEntry
Instance Method Summary collapse
-
#initialize(name, title_regex = //) ⇒ Group
constructor
A new instance of Group.
Methods inherited from TOCEntry
#add, #children, #write_entries
Constructor Details
#initialize(name, title_regex = //) ⇒ Group
Returns a new instance of Group.
46 47 48 49 |
# File 'lib/tendersync/document.rb', line 46 def initialize(name, title_regex=//) super(name, nil, nil) @title_regex = title_regex end |
Instance Attribute Details
#title_regex ⇒ Object (readonly)
Returns the value of attribute title_regex.
45 46 47 |
# File 'lib/tendersync/document.rb', line 45 def title_regex @title_regex end |