Sha256: 32e1d8fd3a1a4b9abd13353544ec519adef838c9a853e5893c99d44c5d1c5115
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true module Makit VERSION = "0.0.13" class Version # given an array of version strings, return the highest version def self.get_highest_version(versions) versions.sort { |a, b| Gem::Version.new(a) <=> Gem::Version.new(b) }.last end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
makit-0.0.13 | lib/makit/version.rb |