class Pact::SpecificationVersion

Constants

NIL_VERSION

Public Instance Methods

===(other) click to toggle source
# File lib/pact/specification_version.rb, line 8
def === other
  major && major == other
end
after?(other) click to toggle source
# File lib/pact/specification_version.rb, line 12
def after? other
  major && other < major
end
major() click to toggle source
# File lib/pact/specification_version.rb, line 4
def major
  segments.first
end