Module: SimpleCommandDispatcher::Commands::CommandCallable::ClassMethods
- Defined in:
- lib/simple_command_dispatcher/commands/command_callable.rb
Instance Method Summary collapse
-
#call ⇒ Object
Creates a new instance of the command and calls it, passing all arguments through.
Instance Method Details
#call ⇒ Object
Creates a new instance of the command and calls it, passing all arguments through.
46 47 48 |
# File 'lib/simple_command_dispatcher/commands/command_callable.rb', line 46 def call(...) new(...).call end |