Class: Picon::Command
- Inherits:
-
Object
- Object
- Picon::Command
- Defined in:
- lib/picon/command.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Command
Returns a new instance of Command.
9 10 11 |
# File 'lib/picon/command.rb', line 9 def initialize(argv) @argv = argv end |
Class Method Details
.run(argv) ⇒ Object
5 6 7 |
# File 'lib/picon/command.rb', line 5 def self.run(argv) new(argv).run end |