Class: ScriptFinder
- Inherits:
-
BaseFinder
- Object
- BaseFinder
- ScriptFinder
- Defined in:
- lib/script_finder/script_finder.rb
Constant Summary
Constants inherited from BaseFinder
Instance Attribute Summary
Attributes inherited from BaseFinder
Instance Method Summary collapse
Methods inherited from BaseFinder
find_and_execute, #initialize, running_command_for_current_rails_version?
Constructor Details
This class inherits a constructor from BaseFinder
Instance Method Details
#execute_command ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/script_finder/script_finder.rb', line 4 def execute_command dir = find_bin_dir if dir execute_command_if_singleton(find_command_in_dir(dir)) else bin_dir_not_found end end |