Class: Pdfh::Main::RunResult

Inherits:
Object
  • Object
show all
Defined in:
lib/pdfh/main.rb

Overview

keeps track of the processed and ignored files

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeself



131
132
133
134
# File 'lib/pdfh/main.rb', line 131

def initialize
  @processed = []
  @ignored = []
end

Instance Attribute Details

#ignoredObject (readonly)

Returns the value of attribute ignored.



128
129
130
# File 'lib/pdfh/main.rb', line 128

def ignored
  @ignored
end

#processedObject (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