class ForemanMaintain::Concerns::SystemHelpers::Version

class we use for comparing the versions

Public Instance Methods

build() click to toggle source
# File lib/foreman_maintain/concerns/system_helpers.rb, line 27
def build
  segments[2]
end
major() click to toggle source
# File lib/foreman_maintain/concerns/system_helpers.rb, line 19
def major
  segments[0]
end
minor() click to toggle source
# File lib/foreman_maintain/concerns/system_helpers.rb, line 23
def minor
  segments[1]
end