Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/tap/support/executable.rb,
lib/tap/support/tdoc.rb,
lib/tap/support/tdoc.rb,
lib/tap/support/tdoc.rb
Overview
Instance Method Summary collapse
-
#_method(method_name, app = Tap::App.instance) ⇒ Object
Initializes a Tap::Support::Executable using the object returned by Object#method(method_name).
Instance Method Details
#_method(method_name, app = Tap::App.instance) ⇒ Object
Initializes a Tap::Support::Executable using the object returned by Object#method(method_name).
Returns nil if Object#method returns nil.
325 326 327 328 |
# File 'lib/tap/support/executable.rb', line 325 def _method(method_name, app=Tap::App.instance) return nil unless m = method(method_name) Tap::Support::Executable.initialize(m, :call, app) end |