Module: GetVersion
- Defined in:
- lib/getversion.rb,
lib/getversion/executable.rb,
lib/getversion/version_finder.rb,
lib/getversion/detectors/apple.rb,
lib/getversion/detectors/google.rb,
lib/getversion/executable_store.rb,
lib/getversion/execution_context.rb,
lib/getversion/platform_versions.rb,
lib/getversion/detectors/rubygems.rb,
lib/getversion/detectors/jetbrains.rb,
lib/getversion/detectors/microsoft.rb,
lib/getversion/detectors/uncategorised.rb
Defined Under Namespace
Modules: PlatformVersions
Classes: Executable, ExecutableStore, ExecutionContext, VersionFinder
Class Method Summary
collapse
Class Method Details
.[](path) ⇒ Object
8
9
10
|
# File 'lib/getversion.rb', line 8
def self.[](path)
version_finder(path).get_version
end
|
.guess(path) ⇒ Object
12
13
14
|
# File 'lib/getversion.rb', line 12
def self.guess(path)
version_finder(path).guess_version
end
|