121件ヒット
[1-100件を表示]
(0.037秒)
別のキーワード
種類
- インスタンスメソッド (99)
- ライブラリ (22)
ライブラリ
- optparse (66)
-
rubygems
/ command (11) -
rubygems
/ specification (22)
クラス
-
Gem
:: Command (11) -
Gem
:: Specification (22) - OptionParser (66)
キーワード
-
rubygems
/ commands / specification _ command (11) -
rubygems
/ specification (11) - summarize (22)
- summary= (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11)
検索結果
先頭5件
-
Gem
:: Specification # summary -> String (21101.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # summary=(summary) (9208.0) -
この Gem パッケージの短い説明をセットします。
...この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。... -
OptionParser
# summary _ indent -> String (9119.0) -
サマリを表示する時のインデントを文字列で返します。
...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... -
OptionParser
# summary _ indent=(indent) (9119.0) -
サマリを表示する時のインデントを文字列で指定します。
...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_ind... -
OptionParser
# summary _ width -> Integer (9119.0) -
サマリを表示するときの幅を整数で返します。
...rse"
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... -
OptionParser
# summary _ width=(width) (9119.0) -
サマリを表示するときの幅を整数で指定します。
..."
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 #... -
Gem
:: Command # summary=(description) (6201.0) -
コマンドの短い説明をセットします。
...コマンドの短い説明をセットします。
@param description コマンドの短い説明を指定します。... -
rubygems
/ commands / specification _ command (6006.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
...: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all Output specifications for all versions of......the gem
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both ローカルとリモートの両方の......Ruby 自体のデバッグオプションを有効にします
Arguments:
GEMFILE gemspec を表示する Gem パッケージ名を指定します
Summary:
Gem パッケージの仕様を YAML 形式で表示します
Defaults:
--local --version '>= 0'... -
rubygems
/ specification (6006.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
...ージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (3204.0) -
サマリを指定された to へと加えていきます。
...arse"
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", "...