class Faye::WebSocket::API::Event
def init_event(event_type, can_bubble, cancelable)
def init_event(event_type, can_bubble, cancelable) @type = event_type @bubbles = can_bubble @cancelable = cancelable end
def initialize(event_type, options)
def initialize(event_type, options) @type = event_type options.each { |key, value| instance_variable_set("@#{ key }", value) } end
def prevent_default
def prevent_default end
def stop_propagation
def stop_propagation end