Sha256: d616c326a71cae9c322e5ab6e3043a0b2650003f5fab1fa6671abd6d20d9b5ee

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

# The gem version details.
module Billomat
  # The version of the +billomat+ gem
  VERSION = '1.2.3'

  class << self
    # Returns the version of gem as a string.
    #
    # @return [String] the gem version as string
    def version
      VERSION
    end

    # Returns the version of the gem as a +Gem::Version+.
    #
    # @return [Gem::Version] the gem version as object
    def gem_version
      Gem::Version.new VERSION
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billomat-1.2.3 lib/billomat/version.rb