Class: Faye::WebSocket::API::CloseEvent
- Defined in:
- lib/faye/websocket/api/event.rb
Constant Summary
Constants inherited from Event
Event::AT_TARGET, Event::BUBBLING_PHASE, Event::CAPTURING_PHASE
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Attributes inherited from Event
#bubbles, #cancelable, #current_target, #event_phase, #target, #type
Method Summary
Methods inherited from Event
create, #init_event, #initialize, #prevent_default, #stop_propagation
Constructor Details
This class inherits a constructor from Faye::WebSocket::API::Event
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
37 38 39 |
# File 'lib/faye/websocket/api/event.rb', line 37 def code @code end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
37 38 39 |
# File 'lib/faye/websocket/api/event.rb', line 37 def reason @reason end |