Class: OpenLogCleaner::Document
- Inherits:
-
Object
- Object
- OpenLogCleaner::Document
- Defined in:
- lib/openlogcleaner/document.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title = nil, count_id = true) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(title = nil, count_id = true) ⇒ Document
Returns a new instance of Document.
9 10 11 12 13 14 |
# File 'lib/openlogcleaner/document.rb', line 9 def initialize(title=nil, count_id=true) @title = title @count_id = count_id @id_counter = 0 @messages = [] end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
7 8 9 |
# File 'lib/openlogcleaner/document.rb', line 7 def files @files end |
#messages ⇒ Object
Returns the value of attribute messages.
7 8 9 |
# File 'lib/openlogcleaner/document.rb', line 7 def @messages end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'lib/openlogcleaner/document.rb', line 7 def title @title end |