Module: MicroQ::Methods::Class

Defined in:
lib/micro_q/methods/class.rb

Overview

Methods that are added to all Ruby Objects (as class methods).

When processing class methods asynchronously, simply store the calling class. The custom ‘loader’ describes that no additional methods need be called to generate the callee of the message invocation

Instance Method Summary collapse

Instance Method Details

#async(options = {}) ⇒ Object



12
13
14
15
16
# File 'lib/micro_q/methods/class.rb', line 12

def async(options = {})
  MicroQ::Proxy::Class.new(
    options.merge(:class => self, :loader => {})
  )
end