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