Sha256: 52b7341a3f8ea34bcffef6a29171270603fa1959db708bb7f502278a777db435

Contents?: true

Size: 299 Bytes

Versions: 49

Compression:

Stored size: 299 Bytes

Contents

# encoding: utf-8

module Punchblock
  module Connection
    class GenericConnection
      def initialize
        @event_handler = lambda { |event| raise 'No event handler set' }
      end

      def ready!
      end

      def not_ready!
      end

      def connected?
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
punchblock-2.7.5 lib/punchblock/connection/generic_connection.rb
punchblock-2.7.3 lib/punchblock/connection/generic_connection.rb
punchblock-2.7.2 lib/punchblock/connection/generic_connection.rb
punchblock-2.7.1 lib/punchblock/connection/generic_connection.rb
punchblock-2.7.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.6.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.5.3 lib/punchblock/connection/generic_connection.rb
punchblock-2.5.2 lib/punchblock/connection/generic_connection.rb
punchblock-2.5.1 lib/punchblock/connection/generic_connection.rb
punchblock-2.5.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.4.2 lib/punchblock/connection/generic_connection.rb
punchblock-2.4.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.3.1 lib/punchblock/connection/generic_connection.rb
punchblock-2.3.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.2.2 lib/punchblock/connection/generic_connection.rb
punchblock-2.2.1 lib/punchblock/connection/generic_connection.rb
punchblock-2.2.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.1.1 lib/punchblock/connection/generic_connection.rb
punchblock-2.1.0 lib/punchblock/connection/generic_connection.rb
punchblock-2.0.2 lib/punchblock/connection/generic_connection.rb