Sha256: 24e6293118e04ec39d470d57b60c79e36733ec067a2ef53f7420b351ef84cb60

Contents?: true

Size: 258 Bytes

Versions: 13

Compression:

Stored size: 258 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
punchblock-0.9.2 lib/punchblock/connection/connected.rb
punchblock-0.9.1 lib/punchblock/connection/connected.rb
punchblock-0.9.0 lib/punchblock/connection/connected.rb
punchblock-0.8.4 lib/punchblock/connection/connected.rb
punchblock-0.8.3 lib/punchblock/connection/connected.rb
punchblock-0.8.2 lib/punchblock/connection/connected.rb
punchblock-0.8.1 lib/punchblock/connection/connected.rb
punchblock-0.8.0 lib/punchblock/connection/connected.rb
punchblock-0.7.2 lib/punchblock/connection/connected.rb
punchblock-0.7.1 lib/punchblock/connection/connected.rb
punchblock-0.7.0 lib/punchblock/connection/connected.rb
punchblock-0.6.2 lib/punchblock/connection/connected.rb
punchblock-0.6.1 lib/punchblock/connection/connected.rb