Class: Taketo::Actions::EditConfig
- Inherits:
-
BaseAction
- Object
- BaseAction
- Taketo::Actions::EditConfig
- Defined in:
- lib/taketo/actions/edit_config.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Taketo::Actions::BaseAction
Instance Method Details
#run ⇒ Object
7 8 9 10 |
# File 'lib/taketo/actions/edit_config.rb', line 7 def run editor = ENV["EDITOR"] system("#{editor} #{[:config]}") end |