るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.021秒)
トップページ > クエリ:help[x] > クエリ:Integer[x] > 種類:インスタンスメソッド[x]

別のキーワード

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

ライブラリ

クラス

キーワード

検索結果

WIN32OLE_METHOD#helpcontext -> Integer | nil (6214.0)

メソッドのヘルプコンテキストを取得します。

...hod = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpcontext # => 65717

WIN32OLE_METHODオブジェクトを引数として、WIN32OLE.ole_show_help
ヘルプファイルを表示する場合には、WIN32OLEが内部で当メソッドを呼び出し
ます。

@see WIN32OLE.ole_show_help...

WIN32OLE_TYPE#helpcontext -> Integer | nil (6202.0)

この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。

...

@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185...

OptionParser#summary_width -> Integer (120.0)

サマリを表示するときの幅を整数で返します。

..."--help")
end

opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]...