432件ヒット
[201-300件を表示]
(0.075秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ html (24) - drb (24)
-
irb
/ context (36) - mkmf (12)
- optparse (48)
- rake (12)
-
rake
/ testtask (24) -
rubygems
/ config _ file (36) -
rubygems
/ user _ interaction (48) - shell (72)
-
shell
/ command-processor (30) -
shell
/ filter (30)
クラス
-
DRb
:: DRbServer (24) -
Gem
:: ConfigFile (36) -
Gem
:: StreamUI (12) -
Gem
:: StreamUI :: VerboseProgressReporter (36) -
IRB
:: Context (36) - Module (12)
- OptionParser (48)
-
RDoc
:: Options (24) -
Rake
:: TestTask (24) - Shell (72)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (30)
モジュール
-
CGI
:: HtmlExtension (24) - Kernel (12)
- RakeFileUtils (12)
検索結果
先頭5件
-
OptionParser
# help -> String (19.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
//}... -
OptionParser
# to _ s -> String (19.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
//}... -
RDoc
:: Options # warn(message) -> nil (17.0) -
--verbose オプションを指定していた場合に message を 標準エラー出力 $stderr に出力します。
...--verbose オプションを指定していた場合に message を 標準エラー出力
$stderr に出力します。... -
OptionParser
# banner -> String (13.0) -
サマリの最初に表示される文字列を返します。
...します。
//emlist[例][ruby]{
require "optparse"
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
p opts.banner # => "Usage: example.rb [options]"
//}... -
OptionParser
# banner=(heading) (13.0) -
サマリの最初に表示される文字列を指定します。
...y]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]" # => "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
opts.banner # => "Usage: example.rb [options]"
//}... -
CGI
:: HtmlExtension # html(attributes = {}) -> String (7.0) -
トップレベルの html 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...{ "<BODY></BODY>" }
# <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
# <HTML>
# <BODY>
# </BODY>
# </HTML>
html("PRETTY"){ "<BODY></BODY>" }
# = html({ "PRETTY" => " " }){ "<BODY></BODY>" }
html(if $VERBOSE then "PRETTY" end){ "HTML string" }... -
CGI
:: HtmlExtension # html(attributes = {}) { . . . } -> String (7.0) -
トップレベルの html 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...{ "<BODY></BODY>" }
# <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
# <HTML>
# <BODY>
# </BODY>
# </HTML>
html("PRETTY"){ "<BODY></BODY>" }
# = html({ "PRETTY" => " " }){ "<BODY></BODY>" }
html(if $VERBOSE then "PRETTY" end){ "HTML string" }... -
Kernel
# message(format , *arg) -> nil (7.0) -
Kernel.#printf と同じように標準出力にメッセージを出力します。 メッセージ出力後すぐに IO#flush します。
...Kernel.#printf と同じように標準出力にメッセージを出力します。
メッセージ出力後すぐに IO#flush します。
$VERBOSE が真のときは何もしません。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。... -
Module
# deprecate _ constant(*name) -> self (7.0) -
name で指定した定数を deprecate に設定します。 deprecate に設定した定数を参照すると警告メッセージが表示されます。
...「-W2」などを指定するか、実行中に「Warning[:deprecated] = true」で
変更すると表示されるようになります。
「$VERBOSE = true」は「Warning[:deprecated]」に影響しないため、
表示されるかどうかは変わりません。
@param name 0 個以上の S...