Class: PmdTester::Semver

Inherits:
Object
  • Object
show all
Defined in:
lib/pmdtester/semver.rb

Overview

Utility to deal with semantic versions

Class Method Summary collapse

Class Method Details

.compare(version_a, version_b) ⇒ Object



6
7
8
9
10
# File 'lib/pmdtester/semver.rb', line 6

def self.compare(version_a, version_b)
  result = internal_compare(version_a, version_b)
  PmdTester.logger.debug "  result: #{result}"
  result
end