Sha256: 598da5d1ae70fdc88ce95f6d176e4830ba84685e286b0f0a45fd59caba614905

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

module Capgun
  class Version

    # @return [Integer]
    def self.major
      0
    end

    # @return [Integer]
    def self.minor
      0
    end

    # @return [Integer]
    def self.patch
      3
    end

    # @return [String, NilClass]
    def self.pre
      nil
    end

    # @return [String]
    def self.to_s
      [major, minor, patch, pre].compact.join('.')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capgun-0.0.3 lib/capgun/version.rb