struct

SemVer

Inherits Comparable < Struct < Value < Object

Constructors

new(major : Int32, minor : Int32, patch : Int32)
Source

Class methods

from_s(s : String) : self | Error
Source

Instance methods

<=>(other : self)
Source
bump(b : Bump)
Source
major
Source
major=(major : Int32)
Source
minor
Source
minor=(minor : Int32)
Source
patch
Source
patch=(patch : Int32)
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source

Nested types