method

ole_respond_to?

v2_1_10 - Show latest stable - Class: WIN32OLE
ole_respond_to?(p1)
public

Returns true when OLE object has OLE method, otherwise returns false.

ie = WIN32OLE.new('InternetExplorer.Application')
ie.ole_respond_to?("gohome") => true