61件ヒット
[1-61件を表示]
(0.041秒)
別のキーワード
種類
- 特異メソッド (24)
- インスタンスメソッド (24)
- 文書 (12)
- ライブラリ (1)
ライブラリ
-
irb
/ extend-command (12) - win32ole (36)
クラス
- WIN32OLE (36)
モジュール
キーワード
- Rubyの起動 (12)
-
install
_ extend _ commands (12) -
ole
_ obj _ help (12) -
ole
_ show _ help (12) -
ole
_ type (12) -
test
/ unit (1)
検索結果
先頭5件
-
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
--...