別のキーワード
種類
- ライブラリ (324)
- インスタンスメソッド (120)
- クラス (12)
ライブラリ
- optparse (72)
-
rubygems
/ command (24) -
rubygems
/ commands / which _ command (12) -
rubygems
/ specification (24)
クラス
-
Gem
:: Command (24) -
Gem
:: Specification (24) - OptionParser (72)
キーワード
- WhichCommand (12)
-
rake
/ gempackagetask (12) - rubygems (12)
-
rubygems
/ commands / build _ command (12) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / check _ command (12) -
rubygems
/ commands / cleanup _ command (12) -
rubygems
/ commands / contents _ command (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / help _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / rdoc _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / sources _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ specification (12) - summarize (24)
- summary= (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12)
検索結果
先頭5件
-
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (204.0) -
サマリを指定された to へと加えていきます。
サマリを指定された to へと加えていきます。
ブロックが与えられた場合、サマリの各行を引数としてブロックを評価します。
この場合、ブロックの中で明示的に to へと加えていかない限り、
to にサマリが加えられることはありません。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//emlist[例][ruby]{
requ... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (204.0) -
サマリを指定された to へと加えていきます。
サマリを指定された to へと加えていきます。
ブロックが与えられた場合、サマリの各行を引数としてブロックを評価します。
この場合、ブロックの中で明示的に to へと加えていかない限り、
to にサマリが加えられることはありません。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//emlist[例][ruby]{
requ... -
rubygems (48.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...の警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するための gemspec の例を示します。
警告メッセージが出力されない......す。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
s.files = ['lib/hello.rb']
s.authors = ['Hello Author']
s.email = 'hello_author@example.com'......= 'hello description'
end
//}
: name
この Gem の名前を指定します。
: version
この Gem のバージョンを指定します。
: summary
この Gem の短い説明を指定します。
: files
この Gem に含むファイルのリストを指定します。
: authors
この... -
Gem
:: Commands :: WhichCommand (6.0) -
指定された Gem パッケージに含まれるライブラリのパスを見つけるためのクラスです。
...Ruby 自体のデバッグオプションを有効にします
Arguments:
FILE Gem パッケージ名を指定します
Summary:
指定された Gem パッケージのライブラリのある場所を表示します
Defaults:
--no-gems-first --no-all... -
rake
/ gempackagetask (6.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...ージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Ruby based make-like utility."
s.name = 'rake'
s.version = PKG_VERSION
s.requirements << 'none'
s.require_path = 'lib'... -
rubygems
/ commands / build _ command (6.0) -
Gem パッケージをビルドするためのライブラリです。
...Ruby 自体のデバッグオプションを有効にします
Arguments:
GEMSPEC_FILE Gem パッケージをビルドするのに必要な gemspec ファイル名を指定します
Summary:
gemspec ファイルから Gem パッケージをビルドします... -
rubygems
/ commands / cert _ command (6.0) -
Gem パッケージの証明書や署名の設定を管理するためのライブラリです。
...定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Manage RubyGems certificates and signing settings... -
rubygems
/ commands / check _ command (6.0) -
インストールされている Gem パッケージを検証するためのライブラリです。
...ルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
インストールされている Gem パッケージをチェックします... -
rubygems
/ commands / cleanup _ command (6.0) -
ローカルにインストールされている古い Gem を削除するライブラリです。
...デバッグオプションを有効にします
Arguments:
GEMNAME 削除する Gem パッケージの名前を指定します
Summary:
ローカルリポジトリにインストールされている古いバージョンの
Gem パッケージを削除します
D...