Sha256: 3d5430cc32a249e17ad709a5b83010dd3480921f74e46253c67b792349b65d9f

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

module Ably
  VERSION = '1.1.2.rc1'
  PROTOCOL_VERSION = '1.1'

  # Allow a variant to be configured for all instances of this client library
  # such as ruby-rest-[VERSION]

  # @api private
  def self.lib_variant=(variant)
    @lib_variant = variant
  end

  def self.lib_variant
    @lib_variant
  end

  # @api private
  def self.major_minor_version_numeric
    VERSION.gsub(/\.\d+$/, '').to_f
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ably-rest-1.1.2.rc1 lib/submodules/ably-ruby/lib/ably/version.rb