Sha256: 357af40cb3ab378ff6af83d60d8c1d0078ef4b4440cdee62e1c3c99805cfd948

Contents?: true

Size: 304 Bytes

Versions: 5

Compression:

Stored size: 304 Bytes

Contents

module Rails
  # Returns the version of the currently loaded Rails 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

5 entries across 3 versions & 2 rubygems

Version Path
activejob-lock-0.0.2 rails/railties/lib/rails/gem_version.rb
activejob-lock-0.0.2 rails/version.rb
activejob-lock-0.0.1 rails/railties/lib/rails/gem_version.rb
activejob-lock-0.0.1 rails/version.rb
railties-4.2.0 lib/rails/gem_version.rb