Sha256: eea4f9d4ba60e3abf98a227eee16bb29c78ec54cd670c93f4c06043dd03f9d38

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

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 = 0
    TINY  = 0
    PRE   = nil

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/activesupport-5.0.0/lib/active_support/gem_version.rb
activesupport-5.0.0 lib/active_support/gem_version.rb