Class: GetVersion::VersionFinder
- Inherits:
-
Object
- Object
- GetVersion::VersionFinder
- Defined in:
- lib/getversion/version_finder.rb
Instance Method Summary collapse
- #get_version ⇒ Object
- #guess_version ⇒ Object
-
#initialize(executable_path, executable_store) ⇒ VersionFinder
constructor
A new instance of VersionFinder.
Constructor Details
#initialize(executable_path, executable_store) ⇒ VersionFinder
Returns a new instance of VersionFinder.
6 7 8 9 |
# File 'lib/getversion/version_finder.rb', line 6 def initialize(executable_path, executable_store) @path = executable_path @executable_store = executable_store end |
Instance Method Details
#get_version ⇒ Object
11 12 13 |
# File 'lib/getversion/version_finder.rb', line 11 def get_version get null_executable end |
#guess_version ⇒ Object
15 16 17 |
# File 'lib/getversion/version_finder.rb', line 15 def guess_version get executable_for_guessing end |