347件ヒット
[1-100件を表示]
(0.192秒)
ライブラリ
- ビルトイン (33)
- benchmark (11)
-
cgi
/ html (22) - optparse (176)
- prettyprint (33)
- psych (22)
-
rexml
/ document (11) - rss (22)
- scanf (6)
クラス
-
Benchmark
:: Job (11) - OptionParser (176)
- PrettyPrint (33)
-
Psych
:: Nodes :: Node (22) -
RDoc
:: Options (11) -
REXML
:: Formatters :: Pretty (11) -
RSS
:: Rss :: Channel :: Image (22) -
Scanf
:: FormatSpecifier (6) - String (33)
モジュール
-
CGI
:: HtmlExtension (22)
検索結果
先頭5件
-
Benchmark
:: Job # width -> Integer (24202.0) -
Benchmark::Job#list のサイズ。
...Benchmark::Job#list のサイズ。... -
RSS
:: Rss :: Channel :: Image # width (24103.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # width (24102.0) -
@todo
@todo -
REXML
:: Formatters :: Pretty # width -> Integer (21208.0) -
出力のページ幅を返します。
...出力のページ幅を返します。
デフォルトは80です。
@see REXML::Formatters::Pretty#width=... -
OptionParser
# summary _ width=(width) (18381.0) -
サマリを表示するときの幅を整数で指定します。
...@param width サマリを表示するときの幅を整数で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
#......=> [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8 # => 8
opts.summary_width # => 8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (18374.0) -
サマリを表示するときの幅を整数で返します。
...。
@return サマリを表示するときの幅を整数で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [......" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
RDoc
:: Options # tab _ width -> Integer (15318.0) -
コマンドライン引数の --tab-width オプションで指定した数値を返します。
...コマンドライン引数の --tab-width オプションで指定した数値を返します。... -
PrettyPrint
# maxwidth -> Integer (15301.0) -
自身の幅を返します。
自身の幅を返します。 -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (12879.0) -
サマリを指定された to へと加えていきます。
...ん。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリ......tparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n",......" --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (12879.0) -
サマリを指定された to へと加えていきます。
...ん。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリ......tparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n",......" --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...