Sha256: 8e69cfb57f6e922a0d8917932c3485b6954de7aea8ca2e063eec6ed9e43cc5cd

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Lookbook
  class Websocket
    class << self
      def new(mount_path, **)
        require_relative "cable/cable"

        Cable.new(mount_path, **)
      rescue LoadError
        NullWebsocket.new
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lookbook-2.1.0 lib/lookbook/websocket.rb