Class: Fusuma::Plugin::Executors::Executor
- Defined in:
- lib/fusuma/plugin/executors/executor.rb
Overview
Inherite this base
Direct Known Subclasses
Instance Method Summary collapse
-
#executable?(_event) ⇒ TrueClass, FalseClass
check executable.
-
#execute(_event) ⇒ nil
execute somthing.
Methods inherited from Base
#config_index, #config_param_types, #config_params, inherited, plugins
Instance Method Details
#executable?(_event) ⇒ TrueClass, FalseClass
check executable
14 15 16 |
# File 'lib/fusuma/plugin/executors/executor.rb', line 14 def executable?(_event) raise NotImplementedError, "override #{self.class.name}##{__method__}" end |
#execute(_event) ⇒ nil
execute somthing
21 22 23 |
# File 'lib/fusuma/plugin/executors/executor.rb', line 21 def execute(_event) raise NotImplementedError, "override #{self.class.name}##{__method__}" end |