module Operate::Command::ClassMethods
Attributes
command_presenter[R]
Public Instance Methods
call(*args, &block)
click to toggle source
Call will initialize the class with *args and invoke instance method `call` with no arguments
# File lib/operate/command.rb, line 24 def call(*args, &block) command = new(*args) command.evaluate(&block) if block_given? command.call end