Class: WebSocket::Protocol::MessageEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/websocket/protocol.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



47
48
49
# File 'lib/websocket/protocol.rb', line 47

def data
  @data
end