Class: Yalphabetizer
- Inherits:
-
Object
- Object
- Yalphabetizer
- Defined in:
- lib/yalphabetizer.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(args, options) ⇒ Yalphabetizer
constructor
A new instance of Yalphabetizer.
Constructor Details
#initialize(args, options) ⇒ Yalphabetizer
Returns a new instance of Yalphabetizer.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/yalphabetizer.rb', line 10 def initialize(args, ) @args = args @reader_class = [:reader_class] @finder = [:finder] @alphabetizer_class = [:alphabetizer_class] @writer_class = [:writer_class] @offence_detector_class = [:offence_detector_class] @logger = [:logger] @file_yalphabetizer_class = [:file_yalphabetizer_class] end |
Class Method Details
.call(args = [], **options) ⇒ Object
6 7 8 |
# File 'lib/yalphabetizer.rb', line 6 def self.call(args = [], **) new(args, ).call end |
Instance Method Details
#call ⇒ Object
22 23 24 25 26 |
# File 'lib/yalphabetizer.rb', line 22 def call initial_log process_files final_log end |