Class: Bosh::Common::Version::StemcellVersionList

Inherits:
VersionList
  • Object
show all
Defined in:
lib/common/version/stemcell_version_list.rb

Instance Attribute Summary

Attributes inherited from VersionList

#versions

Class Method Summary collapse

Methods inherited from VersionList

#==, #each, #initialize, #latest_with_pre_release, #latest_with_release, #to_s

Constructor Details

This class inherits a constructor from Bosh::Common::Version::VersionList

Class Method Details

.parse(versions) ⇒ Object

Parameters:

  • Collection (Array<#version>)

    of version strings



10
11
12
# File 'lib/common/version/stemcell_version_list.rb', line 10

def self.parse(versions)
  self.new(VersionList.parse(versions, StemcellVersion).versions)
end