Exception: Spockets::DuplicateSocket

Inherits:
Exception
  • Object
show all
Defined in:
lib/spockets/Exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s) ⇒ DuplicateSocket

Returns a new instance of DuplicateSocket.



5
6
7
# File 'lib/spockets/Exceptions.rb', line 5

def initialize(s)
    @socket = s
end

Instance Attribute Details

#socketObject (readonly)

Returns the value of attribute socket.



4
5
6
# File 'lib/spockets/Exceptions.rb', line 4

def socket
  @socket
end