diff options
Diffstat (limited to 'version.rb')
-rw-r--r-- | version.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/version.rb b/version.rb index 79313c936a..c7397c4f15 100644 --- a/version.rb +++ b/version.rb @@ -1,4 +1,9 @@ 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 |