Sha256: 1427b5efea3a9fecd37092d8195b24a6f096fe997a5a47765a5b6354e9c79a6f

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.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
end

Version data entries

1 entries across 1 versions & 1 rubygems

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