Exception: Spockets::UnknownSocket

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s) ⇒ UnknownSocket

Returns a new instance of UnknownSocket.



12
13
14
# File 'lib/spockets/Exceptions.rb', line 12

def initialize(s)
    @socket = s
end

Instance Attribute Details

#socketObject (readonly)

Returns the value of attribute socket.



11
12
13
# File 'lib/spockets/Exceptions.rb', line 11

def socket
  @socket
end