Sha256: 543786dd1ff33c8d8194634e319b745f87a7da8bd18ba39638feb90054da362b

Contents?: true

Size: 277 Bytes

Versions: 49

Compression:

Stored size: 277 Bytes

Contents

# encoding: utf-8

module Punchblock
  module Connection
    Connected = Class.new do
      def source
        nil
      end

      def client=(other)
        nil
      end

      def eql?(other)
        other.is_a? self.class
      end
      alias :== :eql?
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

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