Sha256: 9e15826561b896d16a0f7216a293bf05fa0b6cb35d7fb18028cc46fb2925747d

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

# The gem version details.
module PriceHubble
  # The version of the +price-hubble+ gem
  VERSION = '1.0.0'

  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
pricehubble-1.0.0 lib/pricehubble/version.rb