class FeduxOrgStdlib::VersionManagement::SoftwareVersion

Software version

Public Class Methods

new(version) click to toggle source
# File lib/fedux_org_stdlib/version_management/software_version.rb, line 13
def initialize(version)
  @version = Versionomy.parse(version)
end

Public Instance Methods

bump(type) click to toggle source
# File lib/fedux_org_stdlib/version_management/software_version.rb, line 21
def bump(type)
  @version = @version.bump(type)
end
update(*args) click to toggle source
# File lib/fedux_org_stdlib/version_management/software_version.rb, line 17
def update(*args)
  initialize(*args)
end