Module: ActiveService::Runner::InstaceMethods

Defined in:
lib/active_service/runner.rb

Instance Method Summary collapse

Instance Method Details

#run_method(sym, *args, &block) ⇒ Object



26
27
28
29
30
31
32
33
34
# File 'lib/active_service/runner.rb', line 26

def run_method(sym, *args, &block)
  self.class.run_before_hooks(self, sym)

  result = send(sym, *args, &block)

  self.class.run_after_hooks(self, sym)

  result
end