Skip to content

Instantly share code, notes, and snippets.

@zflat
Created May 28, 2013 14:04
Show Gist options
  • Save zflat/5662984 to your computer and use it in GitHub Desktop.
Save zflat/5662984 to your computer and use it in GitHub Desktop.
pass errors and warnings as reference to OLE server
def wrapper_for_operation
e = AsRefArg::new_obj
w = AsRefArg::new_obj
instance.call_operation(args, e, w)
parse_error_warnings(*WIN32OLE::ARGV[1..2])
end
def parse_error_warnings(e, w)
# handle e and w args
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment