Class: GetVersion::VersionFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/getversion/version_finder.rb

Instance Method Summary collapse

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_versionObject



11
12
13
# File 'lib/getversion/version_finder.rb', line 11

def get_version
  get null_executable
end

#guess_versionObject



15
16
17
# File 'lib/getversion/version_finder.rb', line 15

def guess_version
  get executable_for_guessing
end