Class: Resedit::ShellCommand
- Inherits:
-
AppCommand
- Object
- AppCommand
- Resedit::ShellCommand
- Defined in:
- lib/resedit/app/std_commands.rb
Instance Attribute Summary
Attributes inherited from AppCommand
#names, #ohash, #opts, #params, #type
Instance Method Summary collapse
-
#initialize ⇒ ShellCommand
constructor
A new instance of ShellCommand.
- #job(params) ⇒ Object
Methods inherited from AppCommand
#addOption, #addParam, #log, #logd, #loge, #parseParams, #run
Constructor Details
#initialize ⇒ ShellCommand
94 95 96 97 |
# File 'lib/resedit/app/std_commands.rb', line 94 def initialize super(['shell']) addParam('shell', 'shell name', "") end |
Instance Method Details
#job(params) ⇒ Object
98 99 100 |
# File 'lib/resedit/app/std_commands.rb', line 98 def job(params) App::get().setShell(params['shell']) end |