Sha256: 4ef39e1628ba1fdcc57c3cc2988def7eaf5e48a5cb3fb57712a57323e4ec2a7b

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

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

  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 0
    PRE   = nil

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
activejob-lock-0.0.2 rails/actionpack/lib/action_pack/gem_version.rb
activejob-lock-0.0.1 rails/actionpack/lib/action_pack/gem_version.rb
actionpack-4.2.0 lib/action_pack/gem_version.rb