別のキーワード
ライブラリ
- ビルトイン (1)
- e2mmap (6)
- rake (1)
-
rake
/ gempackagetask (5) - rubygems (10)
-
rubygems
/ builder (2) -
rubygems
/ command (27) -
rubygems
/ command _ manager (7) -
rubygems
/ commands / build _ command (5) -
rubygems
/ commands / dependency _ command (6) -
rubygems
/ commands / lock _ command (2) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (2) -
rubygems
/ commands / which _ command (2) -
rubygems
/ config _ file (22) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency (8) -
rubygems
/ dependency _ installer (6) -
rubygems
/ dependency _ list (7) -
rubygems
/ digest / digest _ adapter (3) -
rubygems
/ doc _ manager (8) -
rubygems
/ format (6) -
rubygems
/ gem _ path _ searcher (6) -
rubygems
/ gem _ runner (1) -
rubygems
/ indexer (15) -
rubygems
/ installer (18) -
rubygems
/ old _ format (6) -
rubygems
/ package / f _ sync _ dir (1) -
rubygems
/ package / tar _ header (20) -
rubygems
/ package / tar _ input (6) -
rubygems
/ package / tar _ output (4) -
rubygems
/ package / tar _ reader (4) -
rubygems
/ package / tar _ reader / entry (12) -
rubygems
/ package / tar _ writer (13) -
rubygems
/ platform (11) -
rubygems
/ remote _ fetcher (14) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (11) -
rubygems
/ security (18) -
rubygems
/ server (7) -
rubygems
/ source _ index (21) -
rubygems
/ source _ info _ cache (21) -
rubygems
/ source _ info _ cache _ entry (3) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (97) -
rubygems
/ uninstaller (11) -
rubygems
/ user _ interaction (32) -
rubygems
/ validator (5) -
rubygems
/ version (9) -
rubygems
/ version _ option (2)
クラス
-
Gem
:: Builder (2) -
Gem
:: Command (27) -
Gem
:: CommandManager (7) -
Gem
:: Commands :: BuildCommand (5) -
Gem
:: Commands :: DependencyCommand (6) -
Gem
:: Commands :: LockCommand (2) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: Commands :: WhichCommand (2) -
Gem
:: ConfigFile (22) -
Gem
:: Dependency (8) -
Gem
:: DependencyInstaller (6) -
Gem
:: DependencyList (7) -
Gem
:: DigestAdapter (3) -
Gem
:: DocManager (8) -
Gem
:: Format (6) -
Gem
:: GemPathSearcher (6) -
Gem
:: GemRunner (1) -
Gem
:: Indexer (15) -
Gem
:: Installer (18) -
Gem
:: LoadError (4) -
Gem
:: OldFormat (6) -
Gem
:: Package :: TarHeader (20) -
Gem
:: Package :: TarInput (6) -
Gem
:: Package :: TarOutput (4) -
Gem
:: Package :: TarReader (4) -
Gem
:: Package :: TarReader :: Entry (12) -
Gem
:: Package :: TarWriter (9) -
Gem
:: Package :: TarWriter :: BoundedStream (3) -
Gem
:: Package :: TarWriter :: RestrictedStream (1) -
Gem
:: Platform (11) -
Gem
:: RemoteFetcher (13) -
Gem
:: RemoteFetcher :: FetchError (1) -
Gem
:: Requirement (11) -
Gem
:: Security :: Policy (13) -
Gem
:: Security :: Signer (5) -
Gem
:: Server (7) -
Gem
:: SourceIndex (21) -
Gem
:: SourceInfoCache (21) -
Gem
:: SourceInfoCacheEntry (3) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (97) -
Gem
:: StreamUI (12) -
Gem
:: StreamUI :: SilentProgressReporter (3) -
Gem
:: StreamUI :: SimpleProgressReporter (3) -
Gem
:: StreamUI :: VerboseProgressReporter (3) -
Gem
:: Uninstaller (11) -
Gem
:: Validator (5) -
Gem
:: Version (9) -
Rake
:: GemPackageTask (5) - String (1)
モジュール
キーワード
- <=> (2)
- == (2)
- === (2)
- =~ (3)
- Fail (1)
- Marshal (1)
- Raise (1)
- [] (2)
- []= (1)
-
_ dump (1) - abbreviate (1)
-
accept
_ uri _ http (1) - add (1)
-
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ extra _ args (1) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ gem _ contents (1) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ signatures (1) -
add
_ source _ option (1) -
add
_ spec (1) -
add
_ specs (1) -
add
_ update _ sources _ option (1) -
add
_ version _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) - alien (1)
-
app
_ script _ text (1) - args (1)
- arguments (3)
-
as
_ list (1) - ask (2)
-
ask
_ if _ ok (1) -
ask
_ yes _ no (2) -
assign
_ defaults (1) - autorequire (1)
- autorequire= (1)
- backtrace (1)
- backtrace= (1)
- begins? (1)
- benchmark (1)
- benchmark= (1)
-
bin
_ dir (2) - bind (1)
- bindir (1)
- bindir= (1)
- both? (1)
- build (1)
-
build
_ extensions (1) -
build
_ indices (1) -
bulk
_ threshold (1) -
bulk
_ threshold= (1) - bump (1)
-
bytes
_ read (1) -
cache
_ data (1) -
cache
_ dir (1) -
cache
_ file (1) -
calculate
_ integers _ for _ gem _ version (1) -
cert
_ chain (2) -
cert
_ chain= (2) -
check
_ closed (1) - checksum (1)
-
choose
_ from _ list (2) - close (5)
- closed? (2)
-
collect
_ specs (1) - command (1)
-
command
_ names (1) -
compact
_ specs (1) - complain (1)
- compress (1)
- concat (1)
-
config
_ file _ name (1) -
connection
_ for (1) -
const
_ missing (1) - count (3)
- cpu (1)
- cpu= (1)
- crypt (1)
- date (1)
- date= (1)
-
def
_ exception (1) -
default
_ executable (1) -
default
_ executable= (1) - defaults (1)
- defaults= (1)
-
defaults
_ str (1) - define (1)
- dependencies (1)
-
dependencies
_ ok? (1) -
dependency
_ order (1) -
dependent
_ gems (1) - description (2)
- description= (1)
-
dest
_ directory (1) -
development
_ dependencies (1) - devmajor (1)
- devminor (1)
- digest (1)
- dir (1)
- directory (1)
- directory? (1)
-
do
_ rubygems _ update (1) - done (3)
- download (1)
- dump (1)
- each (5)
-
each
_ entry (1) - email (1)
- email= (1)
- empty? (1)
-
ensure
_ dependency (1) - eof? (1)
- eql? (1)
- errs (1)
- escape (1)
- exact? (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
- execute (3)
- extensions (1)
- extensions= (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
extract
_ entry (1) -
extract
_ files (1) - fail (1)
- fetch (1)
-
fetch
_ path (1) -
fetch
_ size (1) -
fetch
_ spec (1) - file? (1)
-
file
_ entries (2) -
file
_ entries= (2) -
file
_ name (1) -
file
_ uri? (1) - files (1)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ command (1) -
find
_ command _ possibilities (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ matching (1) -
find
_ name (2) -
find
_ paths (1) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) - flush (2)
-
formatted
_ program _ filename (1) -
fsync
_ dir (1) -
full
_ gem _ path (1) -
full
_ name (2) -
gather
_ dependencies (1) -
gem
_ file (1) -
gem
_ file _ list (1) -
gem
_ home (2) -
gem
_ path (2) -
gem
_ path= (2) -
gem
_ paths (1) -
gem
_ signature (1) -
gem
_ spec (1) -
gem
_ spec= (1) -
gems
_ to _ install (1) -
generate
_ bin (1) -
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ index (1) -
generate
_ rdoc (1) -
generate
_ ri (1) -
generate
_ windows _ script (1) -
get
_ all _ gem _ names (1) -
get
_ file _ uri _ path (1) -
get
_ one _ gem _ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
get
_ proxy _ from _ env (1) - getc (1)
- gid (1)
- gname (1)
- gzip (1)
-
handle
_ arguments (1) - handles? (1)
-
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- header (1)
- hexdigest (1)
- homepage (1)
- homepage= (1)
-
index
_ signature (1) - init (1)
-
init
_ gemspecs (1) - ins (1)
- install (2)
-
install
_ indices (1) -
install
_ rdoc (1) -
install
_ ri (1) -
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) -
installed
_ gems (1) - invoke (1)
- key (1)
- key= (1)
-
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (3) -
latest
_ system _ cache _ file (1) -
latest
_ user _ cache _ file (1) -
legacy
_ repos (1) - length (1)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - limit (1)
- linkname (1)
- list (1)
-
load
_ file (1) -
load
_ gems _ in (1) -
load
_ gemspec (1) -
load
_ gemspecs (1) -
load
_ specs (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local? (1)
- magic (1)
-
make
_ temp _ directories (1) -
mark
_ version (1) -
marshal
_ dump (1) -
marshal
_ load (1) -
matching
_ file? (1) -
matching
_ files (1) -
method
_ missing (1) - mkdir (1)
- mode (1)
- mtime (1)
- multitask (1)
- name (4)
- name= (3)
- new (1)
- none? (1)
- normalize (1)
-
normalize
_ uri (1) - ok? (1)
-
ok
_ to _ remove? (1) -
only
_ signed (1) -
only
_ signed= (1) -
only
_ trusted (1) -
only
_ trusted= (1) -
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - os (1)
- os= (1)
- outdated (1)
- outs (1)
- paranoid (1)
- path (1)
- path= (1)
-
path
_ ok? (1) - platform (1)
- platform= (1)
- pos (1)
- prefix (1)
- prerelease? (2)
-
pretty
_ print (1) -
print
_ dependencies (1) -
process
_ args (1) -
program
_ name (1) -
program
_ name= (1) -
progress
_ reporter (1) -
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) - quick (1)
-
rdoc
_ installed? (1) - read (1)
-
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
really
_ verbose (1) - refresh (2)
- refresh! (1)
-
register
_ command (1) - release (1)
- remote? (1)
- remove (1)
-
remove
_ all (1) -
remove
_ by _ name (1) -
remove
_ executables (1) -
remove
_ leading _ dot _ dir (1) -
remove
_ option (1) -
remove
_ spec (1) - request (1)
- require (1)
-
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
-
requirements
_ list (1) - reset (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ file (1) -
reset
_ cache _ for (1) - rewind (2)
- root (1)
-
rubygems
_ version (1) -
rubygems
_ version= (1) - run (3)
-
run
_ rdoc (1) -
runtime
_ dependencies (1) - sanitize (1)
-
sanitize
_ string (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (2)
- search (2)
-
search
_ with _ source (1) -
set
_ cache _ data (1) -
setup
_ rdoc (1) - shebang (1)
-
show
_ help (1) -
show
_ lookup _ failure (1) - sign (1)
-
signing
_ key (1) -
signing
_ key= (1) - size (4)
-
source
_ index (1) - spec (4)
- spec= (2)
-
spec
_ dirs (1) -
spec
_ dirs= (1) -
spec
_ path (1) -
spec
_ predecessors (1) - specific? (1)
- specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - specs (2)
- success (1)
- summary (2)
- summary= (2)
-
system
_ cache _ file (1) -
terminate
_ interaction (2) -
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ a (1) -
to
_ ruby (1) -
to
_ s (4) -
try
_ file (1) - type (1)
- typeflag (1)
- ui (1)
- ui= (1)
- uid (1)
- uname (1)
- unescape (1)
- uninstall (1)
-
uninstall
_ doc (1) -
uninstall
_ gem (1) -
unit
_ test (1) - unpack (1)
- update (2)
-
update
_ checksum (1) -
update
_ sources (1) -
update
_ sources= (1) - updated (3)
- uri (1)
- usage (3)
-
use
_ ui (1) -
user
_ cache _ file (1) - validate (1)
- verbose (1)
- verbose= (1)
-
verify
_ chain (1) -
verify
_ chain= (1) -
verify
_ data (1) -
verify
_ data= (1) -
verify
_ gem (2) -
verify
_ gem _ file (1) -
verify
_ root (1) -
verify
_ root= (1) -
verify
_ signer (1) -
verify
_ signer= (1) - version (4)
- version= (2)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) -
warn
_ legacy (1) -
when
_ invoked (1) -
which
_ to _ update (1) -
windows
_ stub _ script (1) - write (3)
-
write
_ cache (1) -
write
_ require _ paths _ file _ if _ needed (1) -
write
_ spec (1) - written (1)
- yaml (1)
- yaml? (1)
-
yaml
_ initialize (1) -
zipped
_ stream (1)
検索結果
先頭5件
-
Gem
:: Specification # test _ file -> String (9052.0) -
Gem::Specification#test_files の単数バージョンです。
Gem::Specification#test_files の単数バージョンです。 -
Gem
:: Specification # test _ file=(file) (9052.0) -
Gem::Specification#test_files= の単数バージョンです。
Gem::Specification#test_files= の単数バージョンです。 -
Gem
:: Specification # test _ suite _ file -> String (9052.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # test _ suite _ file=(file) (9052.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: StreamUI :: SimpleProgressReporter # count -> Integer (9052.0) -
Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。
Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。 -
Gem
:: StreamUI :: VerboseProgressReporter # count -> Integer (9052.0) -
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。 -
Gem
:: StreamUI :: VerboseProgressReporter # updated(message) -> nil (9052.0) -
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
@param message 表示するメッセージを指定します。 -
Gem
:: Uninstaller # bin _ dir -> String (9052.0) -
Gem でインストールされたコマンドのあるディレクトリを返します。
Gem でインストールされたコマンドのあるディレクトリを返します。 -
Gem
:: Uninstaller # uninstall (9052.0) -
Gem をアンインストールします。
Gem をアンインストールします。
スペックファイルやキャッシュも削除します。 -
Gem
:: Package :: TarWriter :: BoundedStream # write(data) -> Integer (9040.0) -
与えられたデータを自身に関連付けられた IO に書き込みます。
与えられたデータを自身に関連付けられた IO に書き込みます。
@param data 書き込むデータを指定します。
@return 書き込んだデータのサイズを返します。
@raise Gem::Package::TarWriter::FileOverflow Gem::Package::TarWriter::BoundedStream#limit を越えて
書き込もうとした場合に発生します。 -
Gem
:: Requirement # prerelease? -> bool (9040.0) -
何らかのバージョンがプレリリースのものであれば、true を返します。
何らかのバージョンがプレリリースのものであれば、true を返します。
//emlist[][ruby]{
p Gem::Requirement.new("< 5.0").prerelease? # => false
p Gem::Requirement.new("< 5.0a").prerelease? # => true
//} -
Gem
:: Requirement # pretty _ print(pp) -> String (9040.0) -
わかりやすい形で、条件を表す文字列を返します。 pp メソッドで出力する際に、内部で用いられます。
わかりやすい形で、条件を表す文字列を返します。
pp メソッドで出力する際に、内部で用いられます。
@param PP :PP オブジェクトを指定します。
//emlist[][ruby]{
require 'pp'
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
pp req # => Gem::Requirement.new(["< 5.0", ">= 1.9"])
//} -
Gem
:: SourceIndex # update(source _ uri , all) -> bool (9040.0) -
第一引数で指定された URI を使用して自身を更新します。
第一引数で指定された URI を使用して自身を更新します。
@param source_uri 更新に使用する URI を指定します。文字列か URI::Generic のサブクラスを指定します。
@param all 偽を指定すると最新バージョンの Gem のみ取得します。真を指定すると全てのバージョンの Gem を取得します。 -
Gem
:: Version # marshal _ load(array) -> nil (9040.0) -
ダンプされた情報をロードし、自身を破壊的に変更します。
ダンプされた情報をロードし、自身を破壊的に変更します。
//emlist[][ruby]{
version = Gem::Version.new('')
version.marshal_load(["1.2.0a"])
p version # => #<Gem::Version "1.2.0a">
//}
@param array バージョン情報を含む配列を指定します。 -
Gem
:: Command # defaults _ str -> String (9022.0) -
このメソッドはサブクラスで再定義されます。 コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。
@see Gem::Command#arguments -
Gem
:: Commands :: DependencyCommand # print _ dependencies(spec , level = 0) -> String (9022.0) -
依存関係を表す文字列を返します。
依存関係を表す文字列を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param level 依存関係の深さを指定します。 -
Gem
:: Commands :: LockCommand # complain(message) -> () (9022.0) -
指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。
指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。
@param message 表示するメッセージを指定します。
@raise Gem::Exception コマンドラインオプションに --strict が指定されている場合に発生します。 -
Gem
:: ConfigFile # verbose -> bool | Symbol (9022.0) -
ログの出力レベルを返します。
ログの出力レベルを返します。
@see Gem::ConfigFile#verbose= -
Gem
:: DefaultUserInteraction # ui=(new _ ui) (9022.0) -
デフォルトの UI を新しくセットします。
デフォルトの UI を新しくセットします。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.ui= -
Gem
:: DefaultUserInteraction # use _ ui(new _ ui) { . . . } (9022.0) -
与えられたブロックを評価している間だけ UI として new_ui を使用します。
与えられたブロックを評価している間だけ UI として new_ui を使用します。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.use_ui -
Gem
:: Dependency # =~(other) -> bool (9022.0) -
self と other を比較して真偽値を返します。
self と other を比較して真偽値を返します。
self の Gem::Dependency#name が正規表現として other とマッチしない場合は偽を返します。
self が other との依存関係を満たしていれば真を返します。満たしていなければ偽を返します。 -
Gem
:: Dependency # version _ requirements=(version _ requirements) (9022.0) -
依存しているバージョンを設定します。
依存しているバージョンを設定します。
@param version_requirements Gem::Requirement のインスタンスを指定します。 -
Gem
:: DocManager # run _ rdoc(*args) (9022.0) -
与えられた引数を使用して RDoc を実行します。
与えられた引数を使用して RDoc を実行します。
@param args RDoc に与える引数を指定します。
@raise Gem::FilePermissionError RDoc でドキュメント生成中にファイルにアクセス出来なかった場合に発生します。 -
Gem
:: DocManager # setup _ rdoc (9022.0) -
RDoc を実行するための準備を行います。
RDoc を実行するための準備を行います。
@raise Gem::FilePermissionError RDoc を保存するディレクトリにアクセスする権限がない場合に発生します。 -
Gem
:: Indexer # compact _ specs(specs) -> Array (9022.0) -
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して 返します。
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して
返します。
@param specs Gem::Specification の配列を指定します。 -
Gem
:: Indexer # sanitize _ string(string) -> String (9022.0) -
与えられた文字列をサニタイズします。
与えられた文字列をサニタイズします。
@param string サニタイズ対象の文字列を指定します。
@see Gem::Indexer#sanitize -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (9022.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。 -
Gem
:: Package :: TarInput # each {|entry| . . . } (9022.0) -
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
@see Gem::Package::TarReader#each -
Gem
:: Package :: TarInput # extract _ entry(destdir , entry , expected _ md5sum = nil) (9022.0) -
指定された destdir に entry を展開します。
指定された destdir に entry を展開します。
@param destdir 展開先のディレクトリを指定します。
@param entry エントリを指定します。
@param expected_md5sum 期待する MD5 チェックサムを指定します。
@raise Gem::Package::BadCheckSum チェックサムが一致しなかった場合に発生します。 -
Gem
:: Package :: TarReader :: Entry # rewind -> 0 (9022.0) -
ファイルポインタを先頭に移動します。
ファイルポインタを先頭に移動します。
@raise Gem::Package::NonSeekableIO シークできない場合に発生します。 -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (9022.0) -
@param uri URI を指定します。
@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトでは 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
Gem
:: Requirement # as _ list -> [String] (9022.0) -
必要条件を文字列の配列で返します。
必要条件を文字列の配列で返します。
//emlist[][ruby]{
req = Gem::Requirement.new("< 5.0", ">= 1.9")
p req.as_list # => ["< 5.0", ">= 1.9"]
//} -
Gem
:: Requirement # concat(requirements) -> Array (9022.0) -
新しい条件(配列)を自身の条件に破壊的に加えます。
新しい条件(配列)を自身の条件に破壊的に加えます。
@param requirements 条件の配列を指定します。
//emlist[][ruby]{
req = Gem::Requirement.new("< 5.0")
req.concat(["= 1.9"])
puts req # => < 5.0, = 1.9
//} -
Gem
:: Requirement # none? -> bool (9022.0) -
自身が条件を持たない場合は、true を返します。
自身が条件を持たない場合は、true を返します。
//emlist[][ruby]{
req = Gem::Requirement.new(">= 0")
p req.none? # => true
//} -
Gem
:: Requirement # to _ s -> String (9022.0) -
条件を表す文字列を返します。
条件を表す文字列を返します。
//emlist[][ruby]{
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p req.to_s # => "< 5.0, >= 1.9"
//} -
Gem
:: SourceInfoCache # latest _ cache _ file -> String (9022.0) -
使用可能な最新のキャッシュファイル名を返します。
使用可能な最新のキャッシュファイル名を返します。
システムキャッシュが使用可能な場合はシステムキャッシュのファイル名を返します。
そうでない場合はユーザーキャッシュのファイル名を返します。
@see Gem::SourceInfoCache#cache_file -
Gem
:: SourceInfoCache # refresh(all) -> false (9022.0) -
取得元ごとにキャッシュデータを更新します。
取得元ごとにキャッシュデータを更新します。
@param all 真を指定すると全てのキャッシュを更新します。そうでない場合は、
最新の Gem パッケージの情報のみ更新します。 -
Gem
:: SpecFetcher # fetch(dependency , all = false , matching _ platform = true) -> Array (9022.0) -
依存関係を満たす gemspec の配列を返します。
依存関係を満たす gemspec の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency -
Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array (9022.0) -
依存関係を満たす gemspec の名前の配列を返します。
依存関係を満たす gemspec の名前の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency -
Gem
:: Specification # has _ rdoc? -> bool (9022.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
@see Gem::Specification#has_rdoc -
Gem
:: Specification # original _ name -> String (9022.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # validate -> bool (9022.0) -
必須属性のチェックと自身の基本的な正当性チェックを行います。
必須属性のチェックと自身の基本的な正当性チェックを行います。
チェックにパスした場合は常に true を返します。そうでない場合は例外が発生します。
@raise Gem::InvalidSpecificationException チェックにパスしなかった場合に発生します。 -
Gem
:: StreamUI # alert(statement , question = nil) -> String | nil (9022.0) -
INFO レベルのアラートを表示します。
INFO レベルのアラートを表示します。
@param statement 表示する文字列を指定します。
@param question 必要であれば質問を指定します。
@return question を指定した場合は、それに対する回答を返します。
question を指定しない場合は nil を返します。
@see Gem::StreamUI#ask -
Gem
:: StreamUI # alert _ error(statement , question = nil) -> String | nil (9022.0) -
ERROR レベルのアラートを表示します。
ERROR レベルのアラートを表示します。
@param statement 表示する文字列を指定します。
@param question 必要であれば質問を指定します。
@return question を指定した場合は、それに対する回答を返します。
question を指定しない場合は nil を返します。
@see Gem::StreamUI#ask -
Gem
:: StreamUI # alert _ warning(statement , question = nil) -> String | nil (9022.0) -
WARNING レベルのアラートを表示します。
WARNING レベルのアラートを表示します。
@param statement 表示する文字列を指定します。
@param question 必要であれば質問を指定します。
@return question を指定した場合は、それに対する回答を返します。
question を指定しない場合は nil を返します。
@see Gem::StreamUI#ask -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (9022.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。 -
Gem
:: Version # marshal _ dump -> Array (9022.0) -
完全なオブジェクトではなく、バージョン文字列のみダンプします。
完全なオブジェクトではなく、バージョン文字列のみダンプします。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a').marshal_dump # => ["1.2.0a"]
//} -
Gem
:: Version # to _ s -> String (9022.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//} -
Gem
:: Version # version -> String (9022.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//} -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (9022.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
:: VersionOption # add _ version _ option(task = command , *wrap) (9022.0) -
option parser に対して --version オプションを追加します。
option parser に対して --version オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (9004.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (9004.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>... -
Exception2MessageMapper
# bind(cl) -> () (9004.0) -
@todo
@todo
@param cl xxx -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (9004.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
すでに存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (9004.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。 -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (9004.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Gem
:: Command # add _ extra _ args(args) -> Array (9004.0) -
$HOME/.gemrc から読み込んだ引数を追加します。
$HOME/.gemrc から読み込んだ引数を追加します。
@param args 追加する引数を配列で指定します。 -
Gem
:: Command # add _ option(*opts) {|value , options| . . . } (9004.0) -
コマンドに対するコマンドラインオプションとハンドラを追加します。
コマンドに対するコマンドラインオプションとハンドラを追加します。
ブロックには、コマンドライン引数の値とそのオプションが渡されます。
オプションはハッシュになっています。
@param opts オプションを指定します。
@see OptionParser#make_switch -
Gem
:: Command # arguments -> String (9004.0) -
このメソッドはサブクラスで再定義されます。 コマンドが取る引数の説明を表示するために使用します。
このメソッドはサブクラスで再定義されます。
コマンドが取る引数の説明を表示するために使用します。
サブクラスで実装する場合は、一つの引数につき一行で、左揃えの文字列を返すようにしてください。 -
Gem
:: Command # begins?(long , short) -> bool (9004.0) -
long が short で始まる文字列である場合真を返します。そうでない場合は偽を返します。
long が short で始まる文字列である場合真を返します。そうでない場合は偽を返します。
@param long 長いコマンドラインオプションを指定します。
@param short 短いコマンドラインオプションを指定します。 -
Gem
:: Command # command -> String (9004.0) -
コマンドの名前を返します。
コマンドの名前を返します。 -
Gem
:: Command # defaults -> Hash (9004.0) -
デフォルトのオプションを返します。
デフォルトのオプションを返します。 -
Gem
:: Command # defaults=(hash) (9004.0) -
コマンドで使用するデフォルトのオプションをセットします。
コマンドで使用するデフォルトのオプションをセットします。
@param hash オプションをハッシュで指定します。 -
Gem
:: Command # description -> String (9004.0) -
このメソッドはサブクラスで再定義されます。 コマンドが実行することを説明する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドが実行することを説明する文字列を返します。 -
Gem
:: Command # execute -> () (9004.0) -
このメソッドはサブクラスで再定義されます。 コマンドを実行します。
このメソッドはサブクラスで再定義されます。
コマンドを実行します。
@raise RuntimeError このメソッドがサブクラスで再定義されていない場合に発生します。 -
Gem
:: Command # get _ one _ optional _ argument -> String (9004.0) -
コマンドラインからオプショナルな引数を取得して返します。
コマンドラインからオプショナルな引数を取得して返します。
@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。 -
Gem
:: Command # handle _ options(args) (9004.0) -
与えられた引数のリストをパースして結果を記録します。
与えられた引数のリストをパースして結果を記録します。
@param args 引数のリストを指定します。 -
Gem
:: Command # handles?(args) -> bool (9004.0) -
与えられた引数リストを処理することが出来れば真を返します。処理できない場合は偽を返します。
与えられた引数リストを処理することが出来れば真を返します。処理できない場合は偽を返します。
@param args 引数リストを指定子明日。 -
Gem
:: Command # invoke(*args) (9004.0) -
与えられた引数を使用してコマンドを呼び出します。
与えられた引数を使用してコマンドを呼び出します。
@param args 引数のリストです。 -
Gem
:: Command # merge _ options(new _ options) -> Hash (9004.0) -
与えられたオプションとデフォルトのオプションをマージします。 しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
与えられたオプションとデフォルトのオプションをマージします。
しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
@param new_options 新しいコマンドオプションをハッシュで指定します。 -
Gem
:: Command # options -> Hash (9004.0) -
コマンドで使用するオプションを返します。
コマンドで使用するオプションを返します。 -
Gem
:: Command # program _ name -> String (9004.0) -
コマンドラインで実行するときに使用するプログラム名を返します。
コマンドラインで実行するときに使用するプログラム名を返します。 -
Gem
:: Command # program _ name=(name) (9004.0) -
コマンドラインで実行するときに使用するプログラム名をセットします。
コマンドラインで実行するときに使用するプログラム名をセットします。
@param name プログラム名を指定します。 -
Gem
:: Command # remove _ option(name) (9004.0) -
与えられた名前に一致するコマンドラインオプションを削除します。
与えられた名前に一致するコマンドラインオプションを削除します。
@param name 削除したいコマンドラインオプションの名前を指定します。 -
Gem
:: Command # show _ help -> () (9004.0) -
コマンドの使用方法を表示します。
コマンドの使用方法を表示します。 -
Gem
:: Command # summary -> String (9004.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
Gem
:: Command # summary=(description) (9004.0) -
コマンドの短い説明をセットします。
コマンドの短い説明をセットします。
@param description コマンドの短い説明を指定します。 -
Gem
:: Command # when _ invoked { . . . } -> Proc (9004.0) -
コマンドが実行されたときに評価するブロックを登録します。
コマンドが実行されたときに評価するブロックを登録します。
通常のコマンド呼び出しは、そのコマンドクラスの execute メソッドを実行するだけです。
このメソッドでブロックを登録すると、通常の呼び出しを上書きすることができます。
これはテストメソッドで正しくコマンドの呼び出しが実行されたことを確認するのに使用することが出来ます。 -
Gem
:: CommandManager # command _ names -> Array (9004.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Gem
:: CommandManager # find _ command _ possibilities(command _ name) -> Array (9004.0) -
登録されているコマンドでマッチする可能性のあるものを返します。
登録されているコマンドでマッチする可能性のあるものを返します。
@param command_name コマンド名を文字列で指定します。 -
Gem
:: CommandManager # register _ command(command _ name) -> false (9004.0) -
コマンドを自身に登録します。
コマンドを自身に登録します。
@param command_name コマンド名をシンボルで指定します。 -
Gem
:: Commands :: BuildCommand # arguments -> String (9004.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: BuildCommand # execute -> () (9004.0) -
コマンドを実行します。
コマンドを実行します。 -
Gem
:: Commands :: BuildCommand # usage -> String (9004.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
Gem
:: Commands :: BuildCommand # yaml?(filename) -> bool (9004.0) -
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
@param filename ファイル名を指定します。 -
Gem
:: Commands :: DependencyCommand # arguments -> String (9004.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # execute -> () (9004.0) -
コマンドを実行します。
コマンドを実行します。 -
Gem
:: Commands :: DependencyCommand # usage -> String (9004.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
Gem
:: Commands :: WhichCommand # find _ paths(package _ name , dirs) -> Array (9004.0) -
dirs から package_name という名前を持つファイルを探索します。
dirs から package_name という名前を持つファイルを探索します。
以下の拡張子を持つファイルが対象です。
%w[.rb .rbw .so .dll .bundle]
@param package_name ファイルの名前を指定します。
@param dirs 探索するディレクトリを文字列の配列で指定します。 -
Gem
:: ConfigFile # [](key) -> object (9004.0) -
引数で与えられたキーに対応する設定情報を返します。
引数で与えられたキーに対応する設定情報を返します。
@param key 設定情報を取得するために使用するキーを指定します。 -
Gem
:: ConfigFile # []=(key , value) (9004.0) -
引数で与えられたキーに対応する設定情報を自身に保存します。
引数で与えられたキーに対応する設定情報を自身に保存します。
@param key 設定情報をセットするために使用するキーを指定します。
@param value 設定情報の値を指定します。 -
Gem
:: ConfigFile # args -> Array (9004.0) -
設定ファイルオブジェクトに与えられたコマンドライン引数のリストを返します。
設定ファイルオブジェクトに与えられたコマンドライン引数のリストを返します。 -
Gem
:: ConfigFile # backtrace -> bool (9004.0) -
エラー発生時にバックトレースを出力するかどうかを返します。
エラー発生時にバックトレースを出力するかどうかを返します。
真の場合はバックトレースを出力します。そうでない場合はバックトレースを出力しません。 -
Gem
:: ConfigFile # backtrace=(backtrace) (9004.0) -
エラー発生時にバックトレースを出力するかどうか設定します。
エラー発生時にバックトレースを出力するかどうか設定します。
@param backtrace 真を指定するとエラー発生時にバックトレースを出力するようになります。 -
Gem
:: ConfigFile # benchmark -> bool (9004.0) -
真の場合はベンチマークを実行します。 そうでない場合は、ベンチマークを実行しません。
真の場合はベンチマークを実行します。
そうでない場合は、ベンチマークを実行しません。 -
Gem
:: ConfigFile # benchmark=(benchmark) (9004.0) -
ベンチマークを実行するかどうか設定します。
ベンチマークを実行するかどうか設定します。
@param benchmark 真を指定するとベンチマークを実行するようになります。 -
Gem
:: ConfigFile # bulk _ threshold=(bulk _ threshold) (9004.0) -
一括ダウンロードの閾値を設定します。
一括ダウンロードの閾値を設定します。
@param bulk_threshold 数値を指定します。 -
Gem
:: ConfigFile # config _ file _ name -> String (9004.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
Gem
:: ConfigFile # each {|key , value| . . . } -> Hash (9004.0) -
設定ファイルの各項目のキーと値をブロック引数として与えられたブロックを評価します。
設定ファイルの各項目のキーと値をブロック引数として与えられたブロックを評価します。