144件ヒット
[1-100件を表示]
(0.024秒)
別のキーワード
種類
- インスタンスメソッド (72)
- ライブラリ (36)
- 特異メソッド (12)
- 文書 (12)
- クラス (12)
ライブラリ
-
irb
/ cmd / help (12) - win32ole (84)
クラス
-
IRB
:: ExtendCommand :: Help (12) - WIN32OLE (36)
-
WIN32OLE
_ METHOD (36)
キーワード
-
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) -
WIN32OLE
_ METHOD (12) - debug (12)
- execute (12)
- helpcontext (12)
- helpfile (12)
- helpstring (12)
- irb (12)
-
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ show _ help (12) - rdoc (12)
検索結果
先頭5件
-
WIN32OLE
# ole _ method _ help(method) -> WIN32OLE _ METHOD (9453.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...OLE_METHODオブジェクトを取得しま
す。
OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別されま
せん。
@param method メソッド情報を取り出す対象のメソッド名を文字列で指定します。
@return WIN32OLE_METHODオ......meError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit')... -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (9136.0) -
メソッドのヘルプコンテキストを取得します。
...WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpcontext # => 65717
WIN32OLE_METHODオブジェクトを引数として、WIN32OLE.ole_show_helpで
ヘルプファイルを表示する場合には、WIN32OLEが内......部で当メソッドを呼び出し
ます。
@see WIN32OLE.ole_show_help... -
WIN32OLE
_ METHOD # helpfile -> String | nil (9136.0) -
ヘルプファイルのパス名を取得します。
...osoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpfile # => C:\...\VBAXL9.CHM
メソッドにヘルプファイルが関連付けられている場合、WIN32OLE.ole_show_helpにWIN32OLE_METHODオブジェクトを与えてヘルプファ......イルを表示できます。
@see WIN32OLE.ole_show_help... -
WIN32OLE
_ METHOD # helpstring -> String | nil (9118.0) -
メソッドのヘルプ文字列を取得します。
...メソッドのヘルプ文字列を取得します。
helpstringは、IDEがメソッドのバルーンヘルプを表示するような場合に利用可
能な、1行程度でメソッドを説明する文字列です。
@return ヘルプ文字列を返します。未定義ならばnilを返し......ます。
tobj = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'IWebBrowser')
method = WIN32OLE_METHOD.new(tobj, 'Navigate')
puts method.helpstring # => Navigates to a URL or file.... -
WIN32OLE
# ole _ method(method) -> WIN32OLE _ METHOD (6353.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...OLE_METHODオブジェクトを取得しま
す。
OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別されま
せん。
@param method メソッド情報を取り出す対象のメソッド名を文字列で指定します。
@return WIN32OLE_METHODオ......meError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit')... -
WIN32OLE
. ole _ show _ help(obj , helpcontext = nil) -> () (6231.0) -
WIN32OLEオブジェクトのヘルプファイルを表示します。
...ェクトまたはWIN32OLE_METHODオ
ブジェクト。直接ヘルプファイルのフルパス名を指定することも可
能です。
@param helpcontext obj引数にWIN32OLE_TYPEオブジェクトまたは
WIN32OLE_METHODオブジェクトを指定し......no helpfile of `オブジェクト名') や、ヘルプファイル
がインストールされていない場合 (failed to open
help file `ファイル名') に通知します。
excel = WIN32OLE.new('Excel.Application')
typeobj = excel.ole_obj_help......WIN32OLE.ole_show_help(typeobj) if typeobj.helpfile... -
WIN32OLE
_ METHOD (6060.0) -
OLEオートメーションサーバが持つメソッドの情報を提供します。
..._METHODは、WIN32OLE#ole_methodsなどの呼び出しによって返さ
れるオブジェクトで、OLEオートメーションサーバのメソッドの情報(メタデー
タ)を保持します。
=== サンプルコード
excel = WIN32OLE.new('Excel.Application')
excel.ole_methods......|method|
if method.visible?
puts <<SIGNATURE
#{method.return_type} #{method.name}(#{
method.params.map {|p| "#{p.ole_type} #{p.name}"}.join(', ')
}) : #{method.helpstring}
SIGNATURE
end
end
@see WIN32OLE#ole_methods, WIN32OLE#ole_func_methods, WIN32OLE#ole_get_methods,......WIN32OLE#ole_put_methods, WIN32OLE#ole_method, WIN32OLE#ole_method_help, WIN32OLE_PARAM... -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (3018.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......する
事ができます。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ru... -
NEWS for Ruby 3
. 0 . 0 (150.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}
* Arguments forwarding (`...`) now supports leading arguments.
16378
//emlist{
def method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}
* Pattern matching (`case/in`) is no longer experimental. 17260
* One-line pattern......e, String => x, String => y, *post]
p pre #=> ["a", 1]
p x #=> "b"
p y #=> "c"
p post #=> [2, "d", "e", "f", 3]
end
//}
* Endless method definition is added. [EXPERIMENTAL]
16746
//emlist{
def square(x) = x * x
//}
* Interpolated String literals are no longer frozen when......instead of
a warning.
== Command line options
=== `--help` option
When the environment variable `RUBY_PAGER` or `PAGER` is present and has
a non-empty value, and the standard input and output are tty, the `--help`
option shows the help message via the pager designated by the value.
16754
===...