Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/tap/support/executable.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.
303 304 305 306 |
# File 'lib/tap/support/executable.rb', line 303 def _method(method_name, app=Tap::App.instance) return nil unless m = method(method_name) Tap::Support::Executable.initialize(m, :call, app) end |