Sha256: d4f722939706976d1f14521d61c197ee7544e80b67140c879265e5f217f02a07

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

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

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre vendor/bundle/gems/actionpack-4.2.1/lib/action_pack/gem_version.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_pack/gem_version.rb
actionpack-4.2.1 lib/action_pack/gem_version.rb