diff options
Diffstat (limited to 'activerecord/lib/active_record/version.rb')
-rw-r--r-- | activerecord/lib/active_record/version.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/version.rb b/activerecord/lib/active_record/version.rb new file mode 100644 index 0000000000..6b0d82d8fc --- /dev/null +++ b/activerecord/lib/active_record/version.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require_relative "gem_version" + +module ActiveRecord + # Returns the version of the currently loaded ActiveRecord as a <tt>Gem::Version</tt> + def self.version + gem_version + end +end |