Sha256: d3fc5cfc0e396e028896c04c8c1099b2f2393f2d59927819e56c25404884e8cc

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

module ActiveSupport
  # Returns the version of the currently loaded Active Support as a <tt>Gem::Version</tt>.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 5
    MINOR = 2
    TINY  = 2
    PRE   = nil

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
nullifyable-0.1.0 vendor/bundle/gems/activesupport-5.2.2/lib/active_support/gem_version.rb
activesupport-5.2.2 lib/active_support/gem_version.rb