Class: Sicily::FileProcessor
- Inherits:
-
Object
- Object
- Sicily::FileProcessor
- Defined in:
- lib/sicily/file_processor.rb
Instance Method Summary collapse
- #info(message) ⇒ Object
-
#initialize(path) ⇒ FileProcessor
constructor
A new instance of FileProcessor.
Constructor Details
#initialize(path) ⇒ FileProcessor
Returns a new instance of FileProcessor.
5 6 7 8 9 |
# File 'lib/sicily/file_processor.rb', line 5 def initialize(path) @path = path @tag = File.basename(path) info 'Start processing...' end |