aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/lib/active_job/version.rb')
-rw-r--r--activejob/lib/active_job/version.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activejob/lib/active_job/version.rb b/activejob/lib/active_job/version.rb
new file mode 100644
index 0000000000..7e646fa3c4
--- /dev/null
+++ b/activejob/lib/active_job/version.rb
@@ -0,0 +1,8 @@
+require_relative 'gem_version'
+
+module ActiveJob
+ # Returns the version of the currently loaded ActiveJob as a <tt>Gem::Version</tt>
+ def self.version
+ gem_version
+ end
+end