77件ヒット
[1-77件を表示]
(0.197秒)
種類
- インスタンスメソッド (55)
- ライブラリ (22)
ライブラリ
- optparse (44)
-
rubygems
/ command (11)
クラス
-
Gem
:: Command (11) - OptionParser (44)
キーワード
-
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / generate _ index _ command (11) - summarize (22)
-
summary
_ indent (11) -
summary
_ width (11)
検索結果
先頭5件
-
Gem
:: Command # summary -> String (21401.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
OptionParser
# summary _ indent -> String (18673.0) -
サマリを表示する時のインデントを文字列で返します。
...ist[例][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 (18573.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, --help\n"]
opts.summary_width......= 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
rubygems
/ commands / generate _ index _ command (12048.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
..._index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --q......ます
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Ge......the --directory option. When done, it will generate a set of files like
this:
gems/ # .gem files you want to
index
quick/index
quick/index.rz # quick index manifest
quick/<gemname>.ge... -
rubygems
/ commands / environment _ command (12036.0) -
RubyGems の環境に関する情報を表示するためのライブラリです。
...m environment [arg] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE......使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
packageversion gem のバージョンを表示します
gemdir Gem......を表示します
version Gem パッケージのフォーマットのバージョンを表示します
remotesources Gem パッケージを検索するサーバを表示します
<omitted> 省略すると全て表示します
Summary:
RubyGems の環境... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (6860.0) -
サマリを指定された to へと加えていきます。
...m width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//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.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| . . . } -> () (6860.0) -
サマリを指定された to へと加えていきます。
...m width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//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.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"]...