Class: Faye::WebSocket::API::MessageEvent

Inherits:
Event
  • Object
show all
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

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

#dataObject (readonly)

Returns the value of attribute data.



33
34
35
# File 'lib/faye/websocket/api/event.rb', line 33

def data
  @data
end