Class: Flydata::Helper::Action::StopHelper
- Inherits:
-
BaseAction
- Object
- BaseAction
- Flydata::Helper::Action::StopHelper
- Defined in:
- lib/flydata/helper/action/stop_helper.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Flydata::Helper::BaseAction
Instance Method Details
#execute(opts = {}) ⇒ Object
9 10 11 |
# File 'lib/flydata/helper/action/stop_helper.rb', line 9 def execute(opts = {}) Process.kill(:TERM, Process.ppid) end |