Sha256: 8d4f99d0154c965fbce6d668e88a9e2bf250e1c4c028731fe8b2ee82cb9ba453

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module ActionCable
  # Returns the version of the currently loaded Action Cable as a <tt>Gem::Version</tt>.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 5
    MINOR = 2
    TINY  = 3
    PRE   = nil

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/actioncable-5.2.3/lib/action_cable/gem_version.rb
spiral_form-0.1.0 vendor/bundle/gems/actioncable-5.2.3/lib/action_cable/gem_version.rb
actioncable-5.2.3 lib/action_cable/gem_version.rb