99件ヒット
[1-99件を表示]
(0.095秒)
別のキーワード
種類
- インスタンスメソッド (55)
- ライブラリ (44)
ライブラリ
- optparse (44)
-
rubygems
/ command (11)
クラス
-
Gem
:: Command (11) - OptionParser (44)
キーワード
検索結果
先頭5件
-
Gem
:: Command # summary -> String (21301.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
OptionParser
# summary _ indent -> String (12455.0) -
サマリを表示する時のインデントを文字列で返します。
...er.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 (12455.0) -
サマリを表示するときの幅を整数で返します。
...w 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 / lock _ command (6072.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
...m lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose......示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ru......します
Summary:
特定バージョンの Gem パッケージを使用するために必要な記述を表示します
Description:
The lock command will generate a list of +gem+ statements that will lock
down
the versions for the gem given in the command line. It... -
rubygems
/ commands / generate _ index _ command (6048.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
...index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --qu......ます
--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 (6036.0) -
RubyGems の環境に関する情報を表示するためのライブラリです。
...] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定さ......使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
packageversion gem のバージョンを表示します
gemdir Gem......ersion Gem パッケージのフォーマットのバージョンを表示します
remotesources Gem パッケージを検索するサーバを表示します
<omitted> 省略すると全て表示します
Summary:
RubyGems の環境や設定を表示します... -
rubygems
/ commands / help _ command (6036.0) -
Gem コマンドに関するヘルプを提供するためのライブラリです。
...T [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定さ......れた設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
commands gem コマンドのサブコマンドの......一覧を表示します
examples gem コマンドの使用例を表示します
<command> 指定されたコマンドのヘルプを表示します
Summary:
gem コマンドに関するヘルプを提供します... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (742.0) -
サマリを指定された to へと加えていきます。
...am 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| . . . } -> () (742.0) -
サマリを指定された to へと加えていきます。
...am 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"]...