Method: XenApi::AsyncDispatcher#method_missing

Defined in:
lib/xenapi/async_dispatcher.rb

#method_missing(meth, *args) ⇒ Dispatcher

Create a new Dispatcher instance to handle the Async.meth prefix.

Parameters:

  • meth (String, Symbol)

    Method prefix name

  • args (...)

    Method arguments

Returns:

  • (Dispatcher)

    dispatcher instance to handle the Async.meth prefix



32
33
34
# File 'lib/xenapi/async_dispatcher.rb', line 32

def method_missing(meth, *args)
  Dispatcher.new(@client, "Async.#{meth}", @sender)
end