るりまサーチ

最速Rubyリファレンスマニュアル検索!
61件ヒット [1-61件を表示] (0.041秒)

別のキーワード

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

ライブラリ

クラス

モジュール

キーワード

検索結果

WIN32OLE#ole_obj_help -> WIN32OLE_TYPE | nil (12207.0)

WIN32OLE_TYPEオブジェクトを返します。

...トです。

@return オブジェクトに関連するWIN32OLE_TYPEオブジェクトを返します。
オブジェクトがドキュメント情報を持たない場合はnilを返します。

excel = WIN32OLE.new('Excel.Application')
tobj = excel.ole_obj_help

@see WIN32OLE_TYPE...

WIN32OLE.ole_show_help(obj, helpcontext = nil) -> () (6319.0)

WIN32OLEオブジェクトのヘルプファイルを表示します。

...させることも可能です。

@param obj WIN32OLE_TYPEオブジェクトまたはWIN32OLE_METHODオ
ブジェクト。直接ヘルプファイルのフルパス名を指定することも可
能です。

@param helpcontext obj引数にWIN32OLE_TYPEオブジェクトまた...
...
obj引数にヘルプファイルのフルパス名を設定した場合は
0を指定してください。

@raise RuntimeError オブジェクトが関連するヘルプファイルを持たない場合
(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#ole_type -> WIN32OLE_TYPE | nil (6007.0)

WIN32OLE_TYPEオブジェクトを返します。

...トです。

@return オブジェクトに関連するWIN32OLE_TYPEオブジェクトを返します。
オブジェクトがドキュメント情報を持たない場合はnilを返します。

excel = WIN32OLE.new('Excel.Application')
tobj = excel.ole_obj_help

@see WIN32OLE_TYPE...

IRB::ExtendCommandBundle.install_extend_commands -> object (106.0)

定義済みの拡張を読み込みます。

...ange_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help

irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。

@see IRB::ExtendCommand...

Rubyの起動 (66.0)

Rubyの起動 * cmd_option * shebang

...した文字列は組み込み定数 Object::ARGV の初
期値として設定されます。標準のシェルがワイルドカードを展開しない環境
(platform/Win32)では、Ruby インタプリタが自前でワイルドカードを展開して
Object::ARGV に設定します。この場...
...グをEUC-JPにする場合

$ ruby -E EUC-JP -e 'p Encoding.default_external; p Encoding.default_internal'
#<Encoding:EUC-JP>
nil

$ ruby --encoding EUC-JP -e 'p Encoding.default_external; p Encoding.default_internal'
#<Encoding:EUC-JP>
nil


# 内部エンコーディングをWindows-31Jにする...
...ィールドセパレータ($;)に regexp をセットします。

: -h

コマンドラインオプションの概要を表示します。

: --help

コマンドラインオプションの概要を表示します。-h よりも詳しい情報が表示されます。

: -i[extension]

引数...

絞り込み条件を変える

test/unit (36.0)

ユニットテストを行うためのライブラリです。

...class TC_Foo < Test::Unit::TestCase
def setup
@obj = Foo.new
end

# def teardown
# end

def test_foo
assert_equal("foo", @obj.foo)
end
def test_bar
assert_equal("bar", @obj.bar)
end
end

テストを実行するには上で...
...のような指定は行えません。

以下のようにすると help も表示されます。

$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-h, --help Display this help.
-s, --seed SEED Sets random seed
-v,...
...s on pattern.
--jobs-status [TYPE] Show status of jobs every file; Disabled when --jobs isn't specified.
-j, --jobs N Allow run tests with N jobs at once
--no-retry Don't retry running testcase when --jobs specified
--...