Class: EacCli::Runner::ContextResponders::Base
- Defined in:
- lib/eac_cli/runner/context_responders/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#if_callable {|_self| ... } ⇒ Object
rubocop:disable Naming/PredicateMethod.
Instance Method Details
#if_callable {|_self| ... } ⇒ Object
rubocop:disable Naming/PredicateMethod
13 14 15 16 17 18 |
# File 'lib/eac_cli/runner/context_responders/base.rb', line 13 def if_callable # rubocop:disable Naming/PredicateMethod return false unless callable? yield(self) true end |