Top > Ruby [2.2.2] > COMMONコンポーネント
require 'win32ole' puts WIN32OLE_TYPE.progids
require 'win32ole' ie = WIN32OLE.new('Excel.Application'); puts ie.ole_methods; とか、 ie = WIN32OLE.new('InternetExplorer.Application'); puts ie.ole_methods;
require 'win32ole' ie = WIN32OLE.new('InternetExplorer.Application') puts ie.ole_obj_help.to_s method = ie.ole_method_help('Navigate') puts method.return_type method.params.each do |param| str = "" str.concat "[in] " if param.input? str.concat "[out] " if param.output? str.concat "[optional] " if param.optional? str.concat "[retval] " if param.retval? str.concat param.name str.concat " = #{param.default}" if param.default str.concat " As #{param.ole_type}" puts str end # IWebBrowser2 # VOID # [in] URL As BSTR # [in] [optional] Flags As VARIANT # [in] [optional] TargetFrameName As VARIANT # [in] [optional] PostData As VARIANT # [in] [optional] Headers As VARIANT