385件ヒット
[1-100件を表示]
(0.078秒)
種類
- ライブラリ (286)
- インスタンスメソッド (88)
- クラス (11)
ライブラリ
- optparse (66)
-
rubygems
/ command (11) -
rubygems
/ commands / which _ command (11) -
rubygems
/ specification (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Specification (11) - OptionParser (66)
キーワード
- WhichCommand (11)
-
rake
/ gempackagetask (11) - rubygems (11)
-
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / check _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / help _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (11) - summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11)
検索結果
先頭5件
-
Gem
:: Command # summary -> String (18201.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
Gem
:: Specification # summary -> String (18201.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
OptionParser
# summary _ indent -> String (6255.0) -
サマリを表示する時のインデントを文字列で返します。
...("-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, --i......nit\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (6255.0) -
サマリを表示するときの幅を整数で返します。
...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"]
//}... -
OptionParser
# summary _ indent=(indent) (6155.0) -
サマリを表示する時のインデントを文字列で指定します。
...|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=(width) (6155.0) -
サマリを表示するときの幅を整数で指定します。
...("-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 # => 8
opts.summarize
# => [" -i\n", " --i......nit\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (342.0) -
サマリを指定された to へと加えていきます。
...d("-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| . . . } -> () (342.0) -
サマリを指定された to へと加えていきます。
...d("-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"]
//}... -
rubygems
/ commands / install _ command (198.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
...。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョン......Install/Update Options:
-i, --install-dir DIR Gem パッケージのインストー先を指定します
-n, --bindir DIR Gem パッケージに含まれるバイナリファイルの配置先を指定します
-d, --[no-]rdoc イン......す
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
GEMNAME インストールする Gem パッケージ名を指定します
Summary:... -
rubygems (150.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...本的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
gem install rake
gem list --local
gem build package.gemspec
gem help install
さら......Gem パッケージをインストールするには以下のようにします。
$ gem install rak --version 0.8.1 # バージョン 0.8.1 をインストールする
$ gem install rak --version '>= 0.5' # バージョン 0.5 以上のものをインストールする
Proxy サーバ経......の警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するための gemspec の例を示します。
警告メッセージが出力されない...