Class: Pdfh::Main::RunResult
- Inherits:
-
Object
- Object
- Pdfh::Main::RunResult
- Defined in:
- lib/pdfh/main.rb
Overview
keeps track of the processed and ignored files
Instance Attribute Summary collapse
-
#ignored ⇒ Object
readonly
Returns the value of attribute ignored.
-
#processed ⇒ Object
readonly
Returns the value of attribute processed.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ self
131 132 133 134 |
# File 'lib/pdfh/main.rb', line 131 def initialize @processed = [] @ignored = [] end |
Instance Attribute Details
#ignored ⇒ Object (readonly)
Returns the value of attribute ignored.
128 129 130 |
# File 'lib/pdfh/main.rb', line 128 def ignored @ignored end |
#processed ⇒ Object (readonly)
Returns the value of attribute processed.
128 129 130 |
# File 'lib/pdfh/main.rb', line 128 def processed @processed end |
Instance Method Details
#add_ignored(file) ⇒ void
This method returns an undefined value.
137 |
# File 'lib/pdfh/main.rb', line 137 def add_ignored(file) = @ignored << file |
#add_processed(file) ⇒ void
This method returns an undefined value.
140 |
# File 'lib/pdfh/main.rb', line 140 def add_processed(file) = @processed << file |