るりまサーチ

最速Rubyリファレンスマニュアル検索!
15件ヒット [1-15件を表示] (0.039秒)
トップページ > クエリ:hash[x] > クエリ:WIN32OLE[x] > クエリ:invoke[x]

別のキーワード

  1. win32ole new
  2. win32ole name
  3. win32ole to_s
  4. win32ole ole_type
  5. win32ole visible?

ライブラリ

クラス

検索結果

WIN32OLE#invoke(name, *args) -> object | nil (39131.0)

メソッド名を指定してオブジェクトのメソッドを呼び出します。

...ソッド名を文字列またはシンボルで指定します。
@param args メソッドの引数を指定します。また、最後の引数にHash
与えることで、名前付き引数を指定できます。この場合、キーに
文字列またはシンボル...
...はnil。
@raise WIN32OLERuntimeError オートメーションサーバの呼び出しに失敗しました。
理由はメッセージのHRESULTを調べてください。
excel = WIN32OLE.new('Excel.Application')
workbook = excel.workbooks.invoke(:Open, :FileName =>...
...:ReadOnly => true,
:Password => 'secret')
excel.invoke(:Quit)

このリストは、以下の記述と同等です。

excel = WIN32OLE.new('Excel.Application')
workbook = excel.workbooks.Open(:FileName => 'c:\\users\\public\\test.xml',...

NEWS for Ruby 3.0.0 (90.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given key...
...cant overhead to major collections, so please test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except has been added, which returns a hash excluding the given keys and their values. 15822
* IO
* IO#n...
...s are promoted to default gems from stdlib.
* digest
* io-nonblock
* io-wait
* nkf
* pathname
* syslog
* win32ole
* Bundled gems
* net-telnet and xmlrpc have been removed from the bundled gems. If you are interested in maintaining them, please comment...