Parent

Files

Caricature::ClrInterfaceMessenger

Encapsulates sending messages to CLR interface isolations

Protected Instance Methods

internal_deliver(mode, method_name, return_type, *args, &b) click to toggle source

deliver the message to the receiving isolation

    # File lib/caricature/clr/messenger.rb, line 30
30:       def internal_deliver(mode, method_name, return_type, *args, &b)    
31:         res = nil                                               
32:         is_value_type = return_type && return_type != System::Void.to_clr_type && return_type.is_value_type
33:         exp = expectations.find(method_name, mode, *args)
34:         res = exp.execute *args if exp
35:         res ||= System::Activator.create_instance(return_type) if is_value_type  
36:         res
37:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.