Sha256: 4a61ef863a18f1b4ce722bab53da822f27d83c9b9f0b91994b4278d9c30fd0a0

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

# encoding: utf-8

module Adhearsion
  module Rayo
    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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/rayo/connection/connected.rb
adhearsion-3.0.0.beta2 lib/adhearsion/rayo/connection/connected.rb
adhearsion-3.0.0.beta1 lib/adhearsion/rayo/connection/connected.rb