Sha256: 345f510ed7cbf46c58d3fdde746900ad871820a92ef7da432c6c7aa0535621bc

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

# Moments::Version module
module Moments
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  # Moments version builder module
  module VERSION
    # major version
    MAJOR = 0
    # minor version
    MINOR = 2
    # patch version
    PATCH = 0
    # alpha, beta, etc. tag
    PRE   = nil

    # Build version string
    STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moments-0.2.0 lib/moments/version.rb