Sha256: 56020891315f7ad139fd40fe6e26e682e310573cdbb416b664b1e57850b835f0
Contents?: true
Size: 597 Bytes
Versions: 125
Compression:
Stored size: 597 Bytes
Contents
module MultiXml module Version module_function # @return [Integer] def major 0 end # @return [Integer] def minor 6 end # @return [Integer] def patch 0 end # @return [Integer, NilClass] def pre nil end # @return [Hash] def to_h { :major => major, :minor => minor, :patch => patch, :pre => pre, } end # @return [Array] def to_a [major, minor, patch, pre].compact end # @return [String] def to_s to_a.join('.') end end end
Version data entries
125 entries across 99 versions & 6 rubygems