Module: ActiveService::Runner::ClassMethods
- Defined in:
- lib/active_service/runner.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &block) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/active_service/runner.rb', line 14 def method_missing(sym, *args, &block) obj = self.new super(sym, *args, &block) unless obj.respond_to?(sym) obj.run_method(sym, *args, &block) end |