Class: WebkitRemote::Event::ConsoleCleared
- Inherits:
-
WebkitRemote::Event
- Object
- WebkitRemote::Event
- WebkitRemote::Event::ConsoleCleared
- Defined in:
- lib/webkit_remote/client/console_events.rb
Overview
Emitted when the console is cleared.
Instance Attribute Summary
Attributes inherited from WebkitRemote::Event
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rpc_event, client) ⇒ ConsoleCleared
constructor
A new instance of ConsoleCleared.
Methods inherited from WebkitRemote::Event
can_receive?, class_for, for, #matches?, register, register_class
Constructor Details
#initialize(rpc_event, client) ⇒ ConsoleCleared
Returns a new instance of ConsoleCleared.
56 57 58 59 |
# File 'lib/webkit_remote/client/console_events.rb', line 56 def initialize(rpc_event, client) super client.console_cleared end |
Class Method Details
.can_reach?(client) ⇒ Boolean
62 63 64 |
# File 'lib/webkit_remote/client/console_events.rb', line 62 def self.can_reach?(client) client.console_events end |