Class: WebSocket::Driver::CloseEvent
- Inherits:
-
Struct
- Object
- Struct
- WebSocket::Driver::CloseEvent
- Defined in:
- lib/websocket/driver.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
44 45 46 |
# File 'lib/websocket/driver.rb', line 44 def code @code end |
#reason ⇒ Object
Returns the value of attribute reason
44 45 46 |
# File 'lib/websocket/driver.rb', line 44 def reason @reason end |