Module: ActionPack

Defined in:
lib/action_pack/version.rb,
lib/action_pack/gem_version.rb

Defined Under Namespace

Modules: VERSION

Class Method Summary collapse

Class Method Details

.gem_versionObject

Returns the version of the currently loaded Action Pack as a Gem::Version



5
6
7
# File 'lib/action_pack/gem_version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

Returns the version of the currently loaded ActionPack as a Gem::Version



7
8
9
# File 'lib/action_pack/version.rb', line 7

def self.version
  gem_version
end