500件ヒット
[401-500件を表示]
(0.061秒)
別のキーワード
ライブラリ
- ビルトイン (308)
- mkmf (12)
- optparse (144)
- rake (24)
-
ripper
/ filter (12)
クラス
- Array (18)
- Complex (18)
- Enumerator (12)
-
Enumerator
:: Lazy (24) - Float (24)
- Numeric (80)
- Object (24)
- OptionParser (144)
-
Rake
:: Application (12) - Range (12)
-
Ripper
:: Filter (12)
モジュール
- Enumerable (96)
- Kernel (12)
-
Rake
:: TaskManager (12)
キーワード
- chunk (12)
-
create
_ makefile (12) - finite? (30)
- infinite? (30)
- initialize (12)
-
initialize
_ copy (12) - inject (36)
- lookup (12)
-
on
_ head (12) -
on
_ tail (12) - parse (36)
- parse! (12)
- reduce (36)
- size (24)
-
slice
_ before (12) - step (62)
- sum (42)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
to
_ a (12)
検索結果
先頭5件
-
OptionParser
# summary _ indent -> String (31.0) -
サマリを表示する時のインデントを文字列で返します。
...で返します。
//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_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h......, --help\n"]
opts.summary_indent = " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ indent=(indent) (31.0) -
サマリを表示する時のインデントを文字列で指定します。
...指定します。
//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_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h......, --help\n"]
opts.summary_indent = " " # => " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (31.0) -
サマリを表示するときの幅を整数で返します。
...数で返します。
//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, --he......lp\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summary _ width=(width) (31.0) -
サマリを表示するときの幅を整数で指定します。
...で指定します。
//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, --he......lp\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
# on _ head(*arg , &block) -> self (25.0) -
オプションを取り扱うためのブロックを自身の持つリストの最初に登録します。
...arser#on と同様です。
//emlist[例][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
//}
@se... -
OptionParser
# to _ a -> [String] (25.0) -
サマリの各行を要素とした配列を返します。
...た配列を返します。
//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.to_a # => ["Usage: test [options]", " -i, --init\n", " -u, --update\n", " -h, --help\n"... -
OptionParser
# parse!(argv = self . default _ argv) -> [String] (19.0) -
与えられた argv をパースします。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-... -
OptionParser
# parse!(argv = self . default _ argv , into: nil) -> [String] (19.0) -
与えられた argv をパースします。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-... -
OptionParser
# parse(*args) -> [String] (19.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h... -
OptionParser
# parse(*args , into: nil) -> [String] (19.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h... -
OptionParser
# parse(argv) -> [String] (19.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h... -
OptionParser
# parse(argv , into: nil) -> [String] (19.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...onParser::ParseError のサブク
ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h...