aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/gem_version.rb
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-08-30 11:58:23 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-08-30 11:58:23 +0200
commit84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4 (patch)
tree6a532ace0c67031e164b26d2e4374bad3ca7500c /activerecord/lib/active_record/gem_version.rb
parent4c917dae9a4933b2116d936293a31a8b5159c145 (diff)
downloadrails-84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4.tar.gz
rails-84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4.tar.bz2
rails-84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4.zip
Refer to the library name instead of the constant
When we are loading a component and we want to know its version, we are actually not speaking about the constant but the library itself. [ci skip] [Godfrey Chan & Xavier Noria]
Diffstat (limited to 'activerecord/lib/active_record/gem_version.rb')
-rw-r--r--activerecord/lib/active_record/gem_version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/gem_version.rb b/activerecord/lib/active_record/gem_version.rb
index 3834392860..15c9dee712 100644
--- a/activerecord/lib/active_record/gem_version.rb
+++ b/activerecord/lib/active_record/gem_version.rb
@@ -1,5 +1,5 @@
module ActiveRecord
- # Returns the version of the currently loaded ActiveRecord as a <tt>Gem::Version</tt>
+ # Returns the version of the currently loaded Active Record as a <tt>Gem::Version</tt>
def self.gem_version
Gem::Version.new VERSION::STRING
end