るりまサーチ

最速Rubyリファレンスマニュアル検索!
77件ヒット [1-77件を表示] (0.197秒)
トップページ > クエリ:i[x] > クエリ:-[x] > クエリ:>[x] > クエリ:d[x] > クエリ:summary[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

検索結果

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
i
ndex
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"]...