Sha256: 6f2d5de71bb6824da8584557117b05a3f8cb8045b9cd5b52ddd0bebe54c2e560

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

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

3 entries across 3 versions & 2 rubygems

Version Path
activejob-lock-0.0.2 rails/actionview/lib/action_view/gem_version.rb
activejob-lock-0.0.1 rails/actionview/lib/action_view/gem_version.rb
actionview-4.2.0 lib/action_view/gem_version.rb