Instance Method

invokeDefaultMethodWithArguments:

Executes when a script attempts to invoke a method on an exposed object directly.

Declaration

- (id)invokeDefaultMethodWithArguments:(NSArray *)arguments;

Parameters

args

The arguments to be passed to the default method.

Return Value

The result of invoking the default method.

See Also

Invoking methods

- invokeUndefinedMethodFromWebScript:withArguments:

Handles undefined method invocation from the scripting environment.