Class: Yalphabetize::CLI
- Inherits:
-
Object
- Object
- Yalphabetize::CLI
- Defined in:
- lib/yalphabetize/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(argv) ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize(argv) ⇒ CLI
Returns a new instance of CLI.
9 10 11 |
# File 'lib/yalphabetize/cli.rb', line 9 def initialize(argv) @argv = argv end |
Class Method Details
.call(argv) ⇒ Object
5 6 7 |
# File 'lib/yalphabetize/cli.rb', line 5 def self.call(argv) new(argv).call end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/yalphabetize/cli.rb', line 13 def call Yalphabetizer.call argv, end |