Sha256: a14e7e0ea6730e963ea1d3291d48ac3d4cd5aaa1f300781e27a503cea3458829

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

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/actionpack-4.2.3/lib/action_pack/gem_version.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/actionpack-4.2.3/lib/action_pack/gem_version.rb
actionpack-4.2.3 lib/action_pack/gem_version.rb