Parent

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 32
      def internal_deliver(mode, method_name, return_type, *args, &b)
        exp = expectations.find(method_name, mode, *args)
        if exp
          res = exp.execute *args
          res
        else
          rt = nil
          rt = System::Activator.create_instance(return_type) if return_type && return_type != System::Void.to_clr_type && return_type.is_value_type
          rt
        end
      end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.