Module: SimplerCommand::ClassMethods
- Defined in:
- lib/simpler_command.rb
Overview
Provided class methods to each implementing class
Instance Method Summary collapse
Instance Method Details
#call(*args, &block) ⇒ Object
23 24 25 |
# File 'lib/simpler_command.rb', line 23 def call(*args, &block) new(*args).call(&block) end |
#call!(*args) ⇒ Object
27 28 29 |
# File 'lib/simpler_command.rb', line 27 def call!(*args) call(*args).result end |