Sha256: a22d19f5957e492b4ea32c1569385bc9aafde37894bca978969a061bcec6230e
Contents?: true
Size: 476 Bytes
Versions: 56
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 require 'fedux_org_stdlib/require_files' require_library %w{ versionomy forwardable } module FeduxOrgStdlib module VersionManagement class Version extend Forwardable def_delegators :@version, :to_s def initialize(version) @version = Versionomy.parse(version) end def update( *args ) initialize( *args ) end def bump(type) @version = @version.bump(type) end end end end
Version data entries
56 entries across 56 versions & 1 rubygems