aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_pack/version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_pack/version.rb')
-rw-r--r--actionpack/lib/action_pack/version.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/lib/action_pack/version.rb b/actionpack/lib/action_pack/version.rb
new file mode 100644
index 0000000000..fd039fe140
--- /dev/null
+++ b/actionpack/lib/action_pack/version.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+require_relative "gem_version"
+
+module ActionPack
+ # Returns the version of the currently loaded ActionPack as a <tt>Gem::Version</tt>
+ def self.version
+ gem_version
+ end
+end