Class: Yalphabetize::Yalphabetizer

Inherits:
Object
  • Object
show all
Defined in:
lib/yalphabetize/yalphabetizer.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args, options) ⇒ Yalphabetizer

Returns a new instance of Yalphabetizer.



9
10
11
12
# File 'lib/yalphabetize/yalphabetizer.rb', line 9

def initialize(args, options)
  @args = args
  @options = options
end

Class Method Details

.call(args = [], options = {}) ⇒ Object



5
6
7
# File 'lib/yalphabetize/yalphabetizer.rb', line 5

def self.call(args = [], options = {})
  new(args, options).call
end

Instance Method Details

#callObject



14
15
16
17
18
# File 'lib/yalphabetize/yalphabetizer.rb', line 14

def call
  initial_log
  process_files
  final_log
end