Class: FindExecutable
- Inherits:
-
Struct
- Object
- Struct
- FindExecutable
- Defined in:
- lib/find_executable.rb
Instance Attribute Summary collapse
-
#executable ⇒ Object
Returns the value of attribute executable.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#executable ⇒ Object
Returns the value of attribute executable
1 2 3 |
# File 'lib/find_executable.rb', line 1 def executable @executable end |
Class Method Details
.call(*args) ⇒ Object
3 4 5 |
# File 'lib/find_executable.rb', line 3 def self.call(*args) new(*args).call end |
Instance Method Details
#call ⇒ Object
7 8 9 |
# File 'lib/find_executable.rb', line 7 def call which(executable) end |