Exception: Spockets::DuplicateSocket
- Inherits:
-
Exception
- Object
- Exception
- Spockets::DuplicateSocket
- 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) ⇒ DuplicateSocket
constructor
A new instance of DuplicateSocket.
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
#socket ⇒ Object (readonly)
Returns the value of attribute socket.
4 5 6 |
# File 'lib/spockets/Exceptions.rb', line 4 def socket @socket end |