Exception: Spockets::UnknownSocket
- Inherits:
-
Exception
- Object
- Exception
- Spockets::UnknownSocket
- Defined in:
- lib/spockets/Exceptions.rb
Instance Attribute Summary collapse
-
#socket ⇒ Object
readonly
Returns the value of attribute socket.
Instance Method Summary collapse
-
#initialize(s) ⇒ UnknownSocket
constructor
A new instance of UnknownSocket.
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
#socket ⇒ Object (readonly)
Returns the value of attribute socket.
11 12 13 |
# File 'lib/spockets/Exceptions.rb', line 11 def socket @socket end |