716件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
- getoptlong (12)
-
irb
/ cmd / help (24) -
irb
/ extend-command (12) -
net
/ ftp (12) - openssl (12)
- optparse (192)
-
rubygems
/ command (12) -
rubygems
/ commands / help _ command (24) - socket (48)
- win32ole (144)
クラス
-
Gem
:: Command (12) -
Gem
:: Commands :: HelpCommand (24) - GetoptLong (12)
-
IRB
:: ExtendCommand :: Help (12) -
Net
:: FTP (12) - OptionParser (180)
- Socket (24)
- WIN32OLE (60)
-
WIN32OLE
_ METHOD (36) -
WIN32OLE
_ TYPE (36)
モジュール
-
IRB
:: ExtendCommandBundle (12) -
OpenSSL
:: X509 (12) -
Socket
:: Constants (24)
キーワード
- EXAMPLES (12)
- Help (12)
- OptionParser (12)
- Options (12)
-
PF
_ PIP (24) -
PF
_ RTIP (24) - PLATFORMS (12)
-
PURPOSE
_ OCSP _ HELPER (12) - Rubyの起動 (7)
-
WIN32OLE
_ METHOD (12) - execute (12)
- getoptlong (12)
- help (24)
- helpcontext (24)
- helpfile (24)
- helpstring (24)
-
install
_ extend _ commands (12) -
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ obj _ help (12) -
ole
_ show _ help (12) -
ole
_ type (12) -
on
_ head (12) -
on
_ tail (12) - optparse (12)
- parse (24)
- parse! (12)
- rake (12)
- rdoc (12)
-
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / check _ command (12) -
rubygems
/ commands / contents _ command (12) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
rubygems
/ security (12) - separator (12)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
test
/ unit (1) -
to
_ a (12) -
to
_ s (12)
検索結果
先頭5件
-
test
/ unit (26036.0) -
ユニットテストを行うためのライブラリです。
...参照してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある......ィングフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html
=== 使い方
Test::Unit は以下のように使います。
まずテスト対象......:
test_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
--name=test_barのような指定は行えません。
以下のようにすると help も表示されます。
$ ruby test_foo.rb --help... -
Gem
:: Command :: HELP -> String (18201.0) -
ヘルプメッセージを表す文字列です。
ヘルプメッセージを表す文字列です。 -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (12312.0) -
メソッドのヘルプコンテキストを取得します。
...です。
@return ヘルプコンテキストを返します。未定義の場合はnilを返します。
tobj = 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 # helpstring -> String | nil (12300.0) -
メソッドのヘルプ文字列を取得します。
...
helpstringは、IDEがメソッドのバルーンヘルプを表示するような場合に利用可
能な、1行程度でメソッドを説明する文字列です。
@return ヘルプ文字列を返します。未定義ならばnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Inte......rnet Controls', 'IWebBrowser')
method = WIN32OLE_METHOD.new(tobj, 'Navigate')
puts method.helpstring # => Navigates to a URL or file.... -
WIN32OLE
_ TYPE # helpcontext -> Integer | nil (12300.0) -
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。
...す。
@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185... -
WIN32OLE
_ TYPE # helpstring -> String | nil (12300.0) -
型のドキュメント文字列を取得します。
...メント文字列を取得します。
@return ドキュメント文字列を返します。未定義の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'IWebBrowser')
p tobj.helpstring # => "Web Browser interface"
ドキュメント文字列は、コ... -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (12112.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......1: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 ruby core)
------------------------------------------------------------------------------
str.match(pattern) -> matchdata o......r nil
str.match(pattern, pos) -> matchdata or nil
...... -
WIN32OLE
# ole _ method _ help(method) -> WIN32OLE _ METHOD (9407.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...OLE_METHODオブジェクトを取得しま
す。
OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別されま
せん。
@param method メソッド情報を取り出す対象のメソッド名を文字列で指定します。
@return WIN32OLE_METHODオ......ntimeError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit'... -
Net
:: FTP # help(arg = nil) -> String (9223.0) -
サーバからの help 情報を返します。
...からの help 情報を返します。
@param arg HELP コマンドのパラメータを指定します。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答... -
WIN32OLE
_ TYPE # helpfile -> String | nil (9218.0) -
オブジェクトに関連付けられたヘルプファイルのフルパス名。
...こで返されたヘルプファイルを表示するには、
WIN32OLE#ole_show_helpメソッドを呼び出します。
オブジェクトがヘルプファイルを持たない場合はnilを返します。
@return オブジェクトに関連付けられたヘルプファイルのフルパス......定義の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpfile # => C:\...\VBAXL9.CHM
WIN32OLE.ole_show_help tobj.helpfile, tobj.helpcontext
# 注)WIN32OLE.ole_show_help(tobj) の呼び出しが望ましい
当...