360件ヒット
[101-200件を表示]
(0.070秒)
別のキーワード
ライブラリ
- getoptlong (12)
-
irb
/ cmd / help (12) -
net
/ ftp (12) - optparse (180)
-
rubygems
/ command (12) - un (12)
- win32ole (120)
クラス
-
Gem
:: Command (12) - GetoptLong (12)
-
IRB
:: ExtendCommand :: Help (12) -
Net
:: FTP (12) - OptionParser (180)
- WIN32OLE (48)
-
WIN32OLE
_ METHOD (36) -
WIN32OLE
_ TYPE (36)
モジュール
- Kernel (12)
キーワード
- execute (12)
- helpcontext (24)
- helpfile (24)
- helpstring (24)
-
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ obj _ help (12) -
ole
_ type (12) -
on
_ head (12) -
on
_ tail (12) - parse (24)
- parse! (12)
- separator (12)
-
show
_ help (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
to
_ a (12) -
to
_ s (12)
検索結果
先頭5件
-
WIN32OLE
_ METHOD # helpstring -> String | nil (6101.0) -
メソッドのヘルプ文字列を取得します。
...メソッドのヘルプ文字列を取得します。
helpstringは、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
_ TYPE # helpcontext -> Integer | nil (6101.0) -
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。
...。
@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185... -
WIN32OLE
_ TYPE # helpstring -> String | nil (6101.0) -
型のドキュメント文字列を取得します。
...列を返します。未定義の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'IWebBrowser')
p tobj.helpstring # => "Web Browser interface"
ドキュメント文字列は、コンテキストヘルプなどに利用可能な型の簡単な説明文... -
WIN32OLE
# ole _ method _ help(method) -> WIN32OLE _ METHOD (3108.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...meError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit')... -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (3013.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... -
OptionParser
# to _ s -> String (3008.0) -
サマリの文字列を返します。
...se"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage: example.rb [options]
# -v, --[no-]verbose Run verbosely
//}... -
WIN32OLE
# ole _ type -> WIN32OLE _ TYPE | nil (3008.0) -
WIN32OLE_TYPEオブジェクトを返します。
...トです。
@return オブジェクトに関連するWIN32OLE_TYPEオブジェクトを返します。
オブジェクトがドキュメント情報を持たない場合はnilを返します。
excel = WIN32OLE.new('Excel.Application')
tobj = excel.ole_obj_help
@see WIN32OLE_TYPE... -
OptionParser
# on _ tail(*arg , &block) -> self (31.0) -
オプションを取り扱うためのブロックを自身の持つリストの最後に登録します。
...オプションを取り扱うためのブロックを自身の持つリストの最後に登録します。
--version や --help の説明をサマリの最後に表示したい時に便利です。
@param arg OptionParser#on と同様です。
@param block OptionParser#on と同様です。
/......opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
puts opts.help
# => Usage: test [options]
# -i, --init
# -u, --update
# -h, --help
//}
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new
opts.on_tail("-h", "--help", "Show this message") do
puts opts
exit
end... -
OptionParser
# on _ head(*arg , &block) -> self (19.0) -
オプションを取り扱うためのブロックを自身の持つリストの最初に登録します。
...][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
puts opts.help
# => Usage: test [options]
# -i, --init
# -u, --update
# -h, --help
//}
@see OptionParser#on, OptionParser#on_tail...