Class: VBox::EventListener

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/event_listener.rb

Instance Attribute Summary

Attributes inherited from Base

#ref

Instance Method Summary collapse

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Method Details

#handle_event(args = {}) ⇒ Object

Methods



6
7
8
9
10
# File 'lib/virtualbox/classes/event_listener.rb', line 6

def handle_event(args={})
  ensure_hash args
  args.referize! :event
  VBox::WebService.send_request(:i_event_listener_handle_event, _this.merge(args))
end