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.rb10
1 files changed, 10 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..eae7da4d05
--- /dev/null
+++ b/activejob/lib/active_job/version.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+require_relative "gem_version"
+
+module ActiveJob
+ # Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt>
+ def self.version
+ gem_version
+ end
+end