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
53 54 55 |
# File 'lib/websocket/driver.rb', line 53 def code @code end |
#reason ⇒ Object
Returns the value of attribute reason
53 54 55 |
# File 'lib/websocket/driver.rb', line 53 def reason @reason end |