るりまサーチ

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

別のキーワード

  1. win32ole ole_method_help
  2. win32ole ole_obj_help
  3. win32ole ole_show_help
  4. un help
  5. irb/help print_usage

検索結果

<< 1 2 > >>

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)

メソッドのヘルプ文字列を取得します。

...メソッドのヘルプ文字列を取得します。

help
stringは、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

===...
<< 1 2 > >>