class WebkitRemote::Event::ConsoleCleared

Emitted when the console is cleared.

Public Class Methods

can_reach?(client) click to toggle source

@private Use Event#can_receive instead of calling this directly.

# File lib/webkit_remote/client/console_events.rb, line 62
def self.can_reach?(client)
  client.console_events
end
new(rpc_event, client) click to toggle source

@private Use Event#for instead of calling this constructor directly.

Calls superclass method WebkitRemote::Event::new
# File lib/webkit_remote/client/console_events.rb, line 56
def initialize(rpc_event, client)
  super
  client.console_cleared
end