別のキーワード
ライブラリ
- ビルトイン (8)
- csv (1)
- optparse (1)
-
rake
/ gempackagetask (1) -
rdoc
/ context (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (3) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (3) -
rubygems
/ indexer (2) -
rubygems
/ installer (2) -
rubygems
/ old _ format (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ source _ index (7) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (83) -
rubygems
/ uninstaller (1) -
shell
/ command-processor (1)
クラス
- CSV (1)
- Encoding (1)
- Exception (1)
-
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (3) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (3) -
Gem
:: Indexer (2) -
Gem
:: Installer (2) -
Gem
:: OldFormat (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (83) -
Gem
:: Uninstaller (1) -
OptionParser
:: ParseError (1) -
RDoc
:: Context :: Section (1) -
RDoc
:: Options (1) -
Rake
:: GemPackageTask (1) - Rational (1)
-
RubyVM
:: InstructionSequence (1) -
Shell
:: CommandProcessor (1) -
Thread
:: Backtrace :: Location (1)
モジュール
- Kernel (2)
キーワード
-
$ > (1) -
$ stdout (1) -
CURRENT
_ SPECIFICATION _ VERSION (1) -
MARSHAL
_ FIELDS (1) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - SPECIAL (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) - TODAY (1)
- Thread (1)
-
_ dump (1) -
_ load (1) - abbreviate (1)
-
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
array
_ attribute (1) -
array
_ attributes (1) -
assign
_ defaults (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
- autorequire (1)
- bindir (1)
-
cert
_ chain (1) - date (1)
-
def
_ builtin _ commands (1) -
default
_ executable (1) -
default
_ internal (1) -
default
_ value (1) - dependencies (1)
-
dependency
_ order (1) -
dependent
_ gems (1) - description (1)
-
development
_ dependencies (1) - email (1)
- executable (1)
- executables (1)
- extensions (1)
-
extra
_ rdoc _ files (1) -
file
_ name (1) - files (1)
- find (1)
-
find
_ all (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ spec (1) -
has
_ rdoc (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage (1)
-
init
_ gemspecs (1) - inspect (7)
- install (1)
-
installation
_ path (1) -
lib
_ files (1) - list (1)
- load (1)
-
load
_ gemspec (1) -
load
_ specification (1) - loaded? (1)
-
loaded
_ from (1) -
mark
_ version (1) - name (1)
- new (1)
- normalize (1)
-
normalize
_ yaml _ input (1) -
original
_ name (1) -
original
_ platform (1) -
overwrite
_ accessor (1) - platform (1)
-
read
_ only (1) -
remove
_ by _ name (1) -
remove
_ spec (1) -
require
_ path (1) -
require
_ paths (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) -
required
_ ruby _ version (1) -
required
_ rubygems _ version (1) - requirements (1)
-
ruby 1
. 8 . 4 feature (1) -
rubygems
_ version (1) -
runtime
_ dependencies (1) - sanitize (1)
-
satisfies
_ requirement? (1) - search (3)
-
signing
_ key (1) - specification (1)
-
specification
_ version (1) - summary (1)
-
test
_ file (1) -
test
_ files (1) -
test
_ suite _ file (1) -
to
_ ruby (1) - validate (1)
- version (1)
-
warn
_ legacy (1) - yaml (1)
- スレッド (1)
- 制御構造 (1)
- 多言語化 (1)
検索結果
先頭5件
-
Gem
:: Specification # specification _ version -> Integer (73201.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (73201.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (73201.0) -
明確に指定されていない時の gemspec のバージョンを表します。
明確に指定されていない時の gemspec のバージョンを表します。 -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (73201.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
Gem
:: Format # spec -> Gem :: Specification (55204.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Gem
:: Installer # spec -> Gem :: Specification (55204.0) -
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。 -
Gem
:: OldFormat # spec -> Gem :: Specification (55204.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Gem
:: Uninstaller # spec -> Gem :: Specification (55204.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。 -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (37501.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (37501.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (37204.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Specification # version -> Gem :: Version (36901.0) -
この Gem パッケージのバージョンを返します。
この Gem パッケージのバージョンを返します。 -
Gem
:: Specification # description -> String (36601.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Gem
:: Specification # extensions -> [String] (36601.0) -
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。 -
Gem
:: Specification # installation _ path -> String (36601.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
Gem
:: Specification # mark _ version -> String (36601.0) -
RubyGems のバージョンを内部にセットします。
RubyGems のバージョンを内部にセットします。 -
Gem
:: Specification # rdoc _ options -> [String] (36601.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (36601.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (36601.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version -> String (36601.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Exception
# inspect -> String (27601.0) -
self のクラス名と message を文字列にして返します。
self のクラス名と message を文字列にして返します。
//emlist[例][ruby]{
begin
raise "exception"
rescue
p $!.inspect # => "#<RuntimeError: exception>"
end
//} -
OptionParser
:: ParseError # inspect -> String (27601.0) -
自身を人間が読みやすい形の文字列表現にして返します。
自身を人間が読みやすい形の文字列表現にして返します。
@return 文字列を返します。
@see Object#inspect -
RDoc
:: Context :: Section # inspect -> String (27601.0) -
自身の情報を人間に読みやすい文字列にして返します。
自身の情報を人間に読みやすい文字列にして返します。 -
RDoc
:: Options :: SPECIAL -> [String] (27601.0) -
--write-options を指定した際に .rdoc_options ファイルに保存されないオプ ションの一覧を返します。
--write-options を指定した際に .rdoc_options ファイルに保存されないオプ
ションの一覧を返します。 -
Rational
# inspect -> String (27601.0) -
自身を人間が読みやすい形の文字列表現にして返します。
自身を人間が読みやすい形の文字列表現にして返します。
"(3/5)", "(-17/7)" のように10進数の表記を返します。
@return 有理数の表記にした文字列を返します。
//emlist[例][ruby]{
Rational(5, 8).inspect # => "(5/8)"
Rational(2).inspect # => "(2/1)"
Rational(-8, 6).inspect # => "(-4/3)"
Rational(0.5).inspect # => "(1/2)"
//}
@see Rational#to_s -
RubyVM
:: InstructionSequence # inspect -> String (27601.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path -
Thread
:: Backtrace :: Location # inspect -> String (27601.0) -
Thread::Backtrace::Location#to_s の結果を人間が読みやすいような文 字列に変換したオブジェクトを返します。
Thread::Backtrace::Location#to_s の結果を人間が読みやすいような文
字列に変換したオブジェクトを返します。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.inspect
end
# => "path/to/foo.rb:5:in ... -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (19588.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex # add _ spec(gem _ spec) -> Gem :: Specification (19525.0) -
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (19204.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Rake
:: GemPackageTask # gem _ spec -> Gem :: Specification (19204.0) -
package ターゲットで使用する gemspec を返します。
package ターゲットで使用する gemspec を返します。
gemspec にはパッケージ名、バージョン、パッケージに含まれるファイルなどが定義
されているので、それらを明示的に指定する必要はありません。 -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (19201.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (18919.0) -
YAML ファイルから gemspec をロードします。
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . _ load(str) -> Gem :: Specification (18901.0) -
マーシャルされたデータをロードするためのメソッドです。
マーシャルされたデータをロードするためのメソッドです。
@param str マーシャルされたデータを指定します。 -
Gem
:: Specification . load(filename) -> Gem :: Specification (18901.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
Kernel
$ $ > -> object (18637.0) -
標準出力です。
標準出力です。
組み込み関数 Kernel.#print、Kernel.#puts や
Kernel.#p などのデフォルトの出力先となります。
初期値は Object::STDOUT です。
コマンドラインオプションオプション -i を指定した場合には
読み込み元と同じ名前のファイルを表します。
$stdout に代入するオブジェクトには
write という名前のメソッドが定義されていなければいけません。
自プロセスの標準出力をリダイレクトしたいときには、
以下のように $stdout に代入すれば十分です。
//emlist[例][ruby]{
# 標準出力の出力先を /tmp/... -
CSV
# inspect -> String (18619.0) -
ASCII 互換文字列で自身の情報を表したものを返します。
ASCII 互換文字列で自身の情報を表したものを返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2")
csv.inspect # => "<#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:\",\" row_sep:\"\\n\" quote_char:\"\\\"\">"
//} -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (18319.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification # _ dump -> String (18301.0) -
重要なインスタンス変数のみを Marshal.#dump します。
重要なインスタンス変数のみを Marshal.#dump します。
@see Marshal.#dump -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (18301.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (18301.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (18301.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
この gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Depende... -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (18301.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Specification # assign _ defaults -> () (18301.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # author -> String (18301.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # authors -> Array (18301.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # autorequire -> String (18301.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # bindir -> String (18301.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。 -
Gem
:: Specification # cert _ chain -> Array (18301.0) -
@todo
@todo -
Gem
:: Specification # date -> Time (18301.0) -
日付を返します。
日付を返します。 -
Gem
:: Specification # default _ executable -> String | nil (18301.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # dependencies -> Array (18301.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # dependent _ gems -> Array (18301.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Specification # development _ dependencies -> Array (18301.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # email -> String (18301.0) -
メールアドレスを返します。
メールアドレスを返します。 -
Gem
:: Specification # executable -> String (18301.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (18301.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # extra _ rdoc _ files -> [String] (18301.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。 -
Gem
:: Specification # file _ name -> String (18301.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # files -> [String] (18301.0) -
この Gem パッケージに含まれるファイル名の配列を返します。
この Gem パッケージに含まれるファイル名の配列を返します。 -
Gem
:: Specification # full _ gem _ path -> String (18301.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # full _ name -> String (18301.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # has _ rdoc -> bool (18301.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。 -
Gem
:: Specification # has _ rdoc? -> bool (18301.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
@see Gem::Specification#has_rdoc -
Gem
:: Specification # has _ test _ suite? -> bool (18301.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # has _ unit _ tests? -> bool (18301.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # homepage -> String (18301.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。 -
Gem
:: Specification # lib _ files -> [String] (18301.0) -
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths 以下にあるファイルのリストを返します。
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths
以下にあるファイルのリストを返します。 -
Gem
:: Specification # loaded? -> bool (18301.0) -
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
既にロードされている場合は真を返します。そうでない場合は偽を返します。 -
Gem
:: Specification # loaded _ from -> String (18301.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # name -> String (18301.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
Gem
:: Specification # normalize -> [String] (18301.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ name -> String (18301.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # original _ platform -> String (18301.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # platform -> String (18301.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification # post _ install _ message -> String (18301.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
Gem
:: Specification # require _ path -> String (18301.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ paths -> [String] (18301.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # requirements -> Array (18301.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # runtime _ dependencies -> Array (18301.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (18301.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification # signing _ key -> String (18301.0) -
この Gem パッケージの署名に使用するキーを返します。
この Gem パッケージの署名に使用するキーを返します。 -
Gem
:: Specification # summary -> String (18301.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # test _ file -> String (18301.0) -
Gem::Specification#test_files の単数バージョンです。
Gem::Specification#test_files の単数バージョンです。 -
Gem
:: Specification # test _ files -> [String] (18301.0) -
ユニットテストのファイルのリストを返します。
ユニットテストのファイルのリストを返します。 -
Gem
:: Specification # test _ suite _ file -> String (18301.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # to _ ruby -> String (18301.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: Specification # validate -> bool (18301.0) -
必須属性のチェックと自身の基本的な正当性チェックを行います。
必須属性のチェックと自身の基本的な正当性チェックを行います。
チェックにパスした場合は常に true を返します。そうでない場合は例外が発生します。
@raise Gem::InvalidSpecificationException チェックにパスしなかった場合に発生します。 -
Gem
:: Specification . array _ attribute(name) -> () (18301.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . array _ attributes -> Array (18301.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Specification . attribute(name) -> () (18301.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (18301.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
既に存在する複数形の属性の単数形バージョンを定義します。
これは単に一つの引数を受け取りそれを配列に追加するようなヘルパーメソッドを定義するということです。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形を... -
Gem
:: Specification . attribute _ defaults -> Array (18301.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (18301.0) -
属性名の配列を返します。
属性名の配列を返します。 -
Gem
:: Specification . attributes(*args) -> () (18301.0) -
複数の属性を一度に作成するために使用します。
複数の属性を一度に作成するために使用します。
各属性のデフォルト値は nil になります。
@param args 属性名を一つ以上指定します。 -
Gem
:: Specification . default _ value(name) -> object (18301.0) -
与えられた名前の属性のデフォルト値を返します。
与えられた名前の属性のデフォルト値を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . list -> Array (18301.0) -
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。 -
Gem
:: Specification . overwrite _ accessor(name) { . . . } -> () (18301.0) -
呼び出し時に特別な動作をする必要のある属性があります。 このメソッドはそういうことを可能にします。
呼び出し時に特別な動作をする必要のある属性があります。
このメソッドはそういうことを可能にします。
ブロックパラメータは任意のものを使用することができます。
@param name 属性名を指定します。 -
Gem
:: Specification . read _ only(*names) -> () (18301.0) -
与えられた属性名を読み取り専用にします。
与えられた属性名を読み取り専用にします。
@param names 属性名を一つ以上指定します。 -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (18301.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute