Sha256: b4981c9499302540571f064f72b3ea00e5aae1646f55665584f5fddc48355351

Contents?: true

Size: 315 Bytes

Versions: 5

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  = 4
    PRE   = nil

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

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/actionpack-4.2.4/lib/action_pack/gem_version.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/actionpack-4.2.4/lib/action_pack/gem_version.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/actionpack-4.2.4/lib/action_pack/gem_version.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_pack/gem_version.rb
actionpack-4.2.4 lib/action_pack/gem_version.rb