Module: Ukiryu::ExecutableLocator::PathDiscovery Private
- Defined in:
- lib/ukiryu/executable_locator.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Manual PATH discovery
Class Method Summary collapse
-
.discover(command, context) ⇒ Hash?
private
Discover executable via PATH search.
Class Method Details
.discover(command, context) ⇒ Hash?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Discover executable via PATH search
191 192 193 194 |
# File 'lib/ukiryu/executable_locator.rb', line 191 def discover(command, context) path = PathScanner.find(command) DiscoveryResult.build(path, :path, context) if path end |