module ActiveDuty::Run::ClassMethods
Public Instance Methods
call(*args)
click to toggle source
# File lib/active_duty/run.rb, line 35 def call(*args) new(*args).call end
call!(*args)
click to toggle source
# File lib/active_duty/run.rb, line 39 def call!(*args) new(*args).call! end
run(*args, &block)
click to toggle source
# File lib/active_duty/run.rb, line 29 def run(*args, &block) define_method :run do |*args| self.instance_exec *args, &block end end