Class: EacCli::Runner::ContextResponders::RunnerMissingMethod

Inherits:
Base
  • Object
show all
Defined in:
lib/eac_cli/runner/context_responders/runner_missing_method.rb

Instance Method Summary collapse

Methods inherited from Base

#if_callable

Instance Method Details

#call(*args, &block) ⇒ Object



11
12
13
# File 'lib/eac_cli/runner/context_responders/runner_missing_method.rb', line 11

def call(*args, &block)
  responder_runner.send(method_name, *args, &block)
end

#callable?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/eac_cli/runner/context_responders/runner_missing_method.rb', line 7

def callable?
  responder_runner.present?
end