Method: ASIR::Client::Proxy#send
- Defined in:
- lib/asir/client.rb
#send(selector, *arguments, &block) ⇒ Object Also known as: method_missing
Accept messages as a proxy for the receiver. Blocks are used represent a “continuation” for the Result.
53 54 55 56 57 58 59 |
# File 'lib/asir/client.rb', line 53 def send selector, *arguments, &block = Message.new(@receiver, selector, arguments, block, self) = @before_send_message.call() if @before_send_message @__configure.call(, self) if @__configure result = transport.() result end |