Class: RubyAMI::Stream::ConnectionStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_ami/stream.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


9
10
11
# File 'lib/ruby_ami/stream.rb', line 9

def eql?(other)
  other.is_a? self.class
end

#nameObject



5
6
7
# File 'lib/ruby_ami/stream.rb', line 5

def name
  self.class.to_s
end