aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/version.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2014-05-18 11:44:28 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2014-05-18 11:44:28 +0200
commita832bc387bd80760f7a362664115f2e78085838e (patch)
treef456df81a8fdd2c7e6871fdbe04809a4768f2980 /lib/active_job/version.rb
downloadrails-a832bc387bd80760f7a362664115f2e78085838e.tar.gz
rails-a832bc387bd80760f7a362664115f2e78085838e.tar.bz2
rails-a832bc387bd80760f7a362664115f2e78085838e.zip
Skeleton gem
Diffstat (limited to 'lib/active_job/version.rb')
-rw-r--r--lib/active_job/version.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/active_job/version.rb b/lib/active_job/version.rb
new file mode 100644
index 0000000000..0add9779d9
--- /dev/null
+++ b/lib/active_job/version.rb
@@ -0,0 +1,8 @@
+require_relative 'gem_version'
+
+module ActiveJob
+ # Returns the version of the currently loaded ActiveRecord as a <tt>Gem::Version</tt>
+ def self.version
+ gem_version
+ end
+end