Module: ActionPack
- Defined in:
- actionpack/lib/action_pack/version.rb,
actionpack/lib/action_pack/gem_version.rb
Defined Under Namespace
Modules: VERSION
Class Method Summary collapse
-
.gem_version ⇒ Object
Returns the version of the currently loaded ActionPack as a
Gem::Version
. -
.version ⇒ Object
Returns the version of the currently loaded ActionPack as a
Gem::Version
.
Class Method Details
.gem_version ⇒ Object
Returns the version of the currently loaded ActionPack as a Gem::Version
3 4 5 |
# File 'actionpack/lib/action_pack/gem_version.rb', line 3 def self.gem_version Gem::Version.new VERSION::STRING end |
.version ⇒ Object
Returns the version of the currently loaded ActionPack as a Gem::Version
5 6 7 |
# File 'actionpack/lib/action_pack/version.rb', line 5 def self.version gem_version end |