class Semverify::VersionFileFactory
@api public
Finds the file that contains the gem’s version and returns a VersionFile instance
def self.find
-
(Semverify::VersionFile, nil)
- the version file or nil if no version file was found
def self.find VERSION_FILE_SOURCES.each do |version_file_source| version_file = version_file_source.find return version_file if version_file end nil end