Sha256: 6b334617458ade245493c6b77e48ad173f24880326f6b77bd7fe0286eb05e9c2

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

module FactoryBot
  # The gem version details.
  module Instrumentation
    # The version of the +factory_bot_instrumentation+ gem
    VERSION = '1.2.2'

    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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
factory_bot_instrumentation-1.2.2 lib/factory_bot/instrumentation/version.rb