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