Sha256: 5671d7a59347595389322f59c6eb1254cc8b74252e9695e273bd4336446c3bee

Contents?: true

Size: 335 Bytes

Versions: 13

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

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 = 5
    MINOR = 2
    TINY  = 3
    PRE   = nil

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

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
spiral_form-0.1.1 vendor/bundle/gems/railties-5.2.3/lib/rails/gem_version.rb
spiral_form-0.1.0 vendor/bundle/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/gem_version.rb
railties-5.2.3 lib/rails/gem_version.rb