ライブラリ
- ビルトイン (3)
-
rake
/ gempackagetask (1) -
rubygems
/ commands / which _ command (1) -
rubygems
/ dependency _ list (3) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (5) -
rubygems
/ indexer (2) -
rubygems
/ installer (2) -
rubygems
/ old _ format (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ package / tar _ output (1) -
rubygems
/ platform (1) -
rubygems
/ source _ index (9) -
rubygems
/ source _ info _ cache (3) -
rubygems
/ specification (83) -
rubygems
/ uninstaller (2)
クラス
- Array (1)
-
Gem
:: Commands :: WhichCommand (1) -
Gem
:: DependencyList (3) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (5) -
Gem
:: Indexer (2) -
Gem
:: Installer (2) -
Gem
:: OldFormat (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Platform (1) -
Gem
:: SourceIndex (9) -
Gem
:: SourceInfoCache (3) -
Gem
:: Specification (83) -
Gem
:: Uninstaller (2) -
Rake
:: GemPackageTask (1) - String (1)
モジュール
- Process (1)
キーワード
-
CURRENT
_ SPECIFICATION _ VERSION (1) -
MARSHAL
_ FIELDS (1) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - RUBY (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) - TODAY (1)
-
_ dump (1) -
_ load (1) - abbreviate (1)
-
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ gem _ contents (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) -
clock
_ gettime (1) - date (1)
-
default
_ executable (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) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ paths (1) -
gem
_ spec (1) -
has
_ rdoc (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage (1)
-
init
_ gemspecs (1) - install (1)
-
installation
_ path (1) -
latest
_ specs (1) -
lib
_ files (1) - list (1)
- load (1)
-
load
_ gemspec (1) -
load
_ specification (1) - loaded? (1)
-
loaded
_ from (1) -
mark
_ version (1) -
matching
_ file? (1) -
matching
_ files (1) - name (1)
- new (1)
- normalize (1)
-
normalize
_ yaml _ input (1) -
original
_ name (1) -
original
_ platform (1) - outdated (1)
-
overwrite
_ accessor (1) - pack (1)
- pack テンプレート文字列 (1)
-
path
_ ok? (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)
-
rubygems
_ version (1) -
runtime
_ dependencies (1) - sanitize (1)
-
satisfies
_ requirement? (1) - search (3)
-
search
_ with _ source (1) -
signing
_ key (1) - spec (4)
-
specification
_ version (1) - summary (1)
-
test
_ file (1) -
test
_ files (1) -
test
_ suite _ file (1) -
to
_ ruby (1) - unpack (1)
- validate (1)
- version (1)
- yaml (1)
検索結果
先頭5件
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (92455.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (82507.0) -
明確に指定されていない時の gemspec のバージョンを表します。
明確に指定されていない時の gemspec のバージョンを表します。 -
Gem
:: Specification # specification _ version -> Integer (82504.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (82504.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (82504.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
Gem
:: Specification # installation _ path -> String (82501.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (65104.0) -
メタデータを返します。
メタデータを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (64201.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (56455.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: Specification # require _ path -> String (55267.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification . array _ attribute(name) -> () (55267.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (55219.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification # date -> Time (55201.0) -
日付を返します。
日付を返します。 -
Gem
:: Specification # full _ gem _ path -> String (55201.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # original _ platform -> String (55201.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # platform -> String (55201.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification # require _ paths -> [String] (55201.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # validate -> bool (55201.0) -
必須属性のチェックと自身の基本的な正当性チェックを行います。
必須属性のチェックと自身の基本的な正当性チェックを行います。
チェックにパスした場合は常に true を返します。そうでない場合は例外が発生します。
@raise Gem::InvalidSpecificationException チェックにパスしなかった場合に発生します。 -
Gem
:: Specification . array _ attributes -> Array (55201.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Specification . attribute(name) -> () (55201.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (55201.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 (55201.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (55201.0) -
属性名の配列を返します。
属性名の配列を返します。 -
Gem
:: Specification . attributes(*args) -> () (55201.0) -
複数の属性を一度に作成するために使用します。
複数の属性を一度に作成するために使用します。
各属性のデフォルト値は nil になります。
@param args 属性名を一つ以上指定します。 -
Gem
:: Specification . required _ attribute?(name) -> bool (55201.0) -
必須属性であれば真を返します。
必須属性であれば真を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . required _ attributes -> Array (55201.0) -
必須属性のリストを返します。
必須属性のリストを返します。 -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (46519.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (46519.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: Specification # has _ test _ suite? -> bool (46249.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # test _ suite _ file -> String (46249.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # description -> String (45901.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Gem
:: Specification # rdoc _ options -> [String] (45901.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。 -
Gem
:: Specification # runtime _ dependencies -> Array (45901.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Indexer # abbreviate(spec) -> Gem :: Specification (37870.0) -
ダウンロードを速くするために与えられた Gem::Specification の持つデータを 小さくします。
ダウンロードを速くするために与えられた Gem::Specification の持つデータを
小さくします。
@param spec Gem::Specification を指定します。 -
Gem
:: Commands :: WhichCommand # gem _ paths(spec) -> Array (37267.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (37249.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
Gem
:: SourceIndex # outdated -> Array (37249.0) -
更新されていない Gem::Specification のリストを返します。
更新されていない Gem::Specification のリストを返します。 -
Gem
:: Uninstaller # path _ ok?(spec) -> bool (37219.0) -
アンインストール指定されている Gem がインストールされているパスをチェックします。
アンインストール指定されている Gem がインストールされているパスをチェックします。
@param spec Gem::Specification を指定します。 -
Gem
:: Specification # extra _ rdoc _ files -> [String] (37201.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。 -
Gem
:: Specification # test _ file -> String (36949.0) -
Gem::Specification#test_files の単数バージョンです。
Gem::Specification#test_files の単数バージョンです。 -
Gem
:: Specification . list -> Array (36949.0) -
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。 -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (36937.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 # dependent _ gems -> Array (36937.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (36919.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 # assign _ defaults -> () (36901.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # author -> String (36901.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # authors -> Array (36901.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # autorequire -> String (36901.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # cert _ chain -> Array (36901.0) -
@todo
@todo -
Gem
:: Specification # default _ executable -> String | nil (36901.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # development _ dependencies -> Array (36901.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # executable -> String (36901.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (36901.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # extensions -> [String] (36901.0) -
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを返します。 -
Gem
:: Specification # has _ unit _ tests? -> bool (36901.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # post _ install _ message -> String (36901.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
Gem
:: Specification # requirements -> Array (36901.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # test _ files -> [String] (36901.0) -
ユニットテストのファイルのリストを返します。
ユニットテストのファイルのリストを返します。 -
Gem
:: Specification # to _ ruby -> String (36901.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: Specification . default _ value(name) -> object (36901.0) -
与えられた名前の属性のデフォルト値を返します。
与えられた名前の属性のデフォルト値を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (36901.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . overwrite _ accessor(name) { . . . } -> () (36901.0) -
呼び出し時に特別な動作をする必要のある属性があります。 このメソッドはそういうことを可能にします。
呼び出し時に特別な動作をする必要のある属性があります。
このメソッドはそういうことを可能にします。
ブロックパラメータは任意のものを使用することができます。
@param name 属性名を指定します。 -
Gem
:: Specification :: TODAY -> Time (36901.0) -
本日の日付を返します。
本日の日付を返します。 -
Gem
:: Installer # install -> Gem :: Specification (28576.0) -
Gem をインストールします。
Gem をインストールします。
以下のディレクトリ構造で Gem をインストールします。
@gem_home/
cache/<gem-version>.gem #=> インストールした Gem のコピー
gems/<gem-version>/... #=> インストール時に展開したファイル
specifications/<gem-version>.gemspec #=> gemspec ファイル
@return ロードされた Gem::Specification のインスタンスを返します。
@r... -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (28552.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (28522.0) -
YAML ファイルから gemspec をロードします。
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . _ load(str) -> Gem :: Specification (28504.0) -
マーシャルされたデータをロードするためのメソッドです。
マーシャルされたデータをロードするためのメソッドです。
@param str マーシャルされたデータを指定します。 -
Gem
:: Specification . load(filename) -> Gem :: Specification (28504.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
pack テンプレート文字列 (28207.0)
-
pack テンプレート文字列
pack テンプレート文字列
以下にあげるものは、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができます。「長さ」の代わりに`*'とすることで「残り全て」
を表すこともできます。
長さの意味はテンプレート文字により異なりますが大抵、
"iiii"
のように連続するテンプレート文字は
"i4"
と書き換えることができます。
テンプレート文字列中の空白類は無視されます。
また、`#' から改行あるいはテンプレート文字列の最後まではコメントとみな
され無視されます。
=== 整数のテンプレート... -
Gem
:: Specification # full _ name -> String (27985.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # lib _ files -> [String] (27949.0) -
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths 以下にあるファイルのリストを返します。
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths
以下にあるファイルのリストを返します。 -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (27937.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 # original _ name -> String (27919.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # _ dump -> String (27901.0) -
重要なインスタンス変数のみを Marshal.#dump します。
重要なインスタンス変数のみを Marshal.#dump します。
@see Marshal.#dump -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (27901.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # bindir -> String (27901.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。 -
Gem
:: Specification # email -> String (27901.0) -
メールアドレスを返します。
メールアドレスを返します。 -
Gem
:: Specification # file _ name -> String (27901.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # files -> [String] (27901.0) -
この Gem パッケージに含まれるファイル名の配列を返します。
この Gem パッケージに含まれるファイル名の配列を返します。 -
Gem
:: Specification # homepage -> String (27901.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。 -
Gem
:: Specification # loaded _ from -> String (27901.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # mark _ version -> String (27901.0) -
RubyGems のバージョンを内部にセットします。
RubyGems のバージョンを内部にセットします。 -
Gem
:: Specification # name -> String (27901.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
Gem
:: Specification # normalize -> [String] (27901.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (27901.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (27901.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version -> String (27901.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # signing _ key -> String (27901.0) -
この Gem パッケージの署名に使用するキーを返します。
この Gem パッケージの署名に使用するキーを返します。 -
Gem
:: Specification # summary -> String (27901.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # has _ rdoc? -> bool (27619.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
@see Gem::Specification#has_rdoc -
Gem
:: Specification # dependencies -> Array (27601.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # has _ rdoc -> bool (27601.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。 -
Gem
:: Specification # loaded? -> bool (27601.0) -
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
既にロードされている場合は真を返します。そうでない場合は偽を返します。 -
Gem
:: Specification # version -> Gem :: Version (27601.0) -
この Gem パッケージのバージョンを返します。
この Gem パッケージのバージョンを返します。 -
Gem
:: Specification . read _ only(*names) -> () (27601.0) -
与えられた属性名を読み取り専用にします。
与えられた属性名を読み取り専用にします。
@param names 属性名を一つ以上指定します。 -
Gem
:: Specification :: MARSHAL _ FIELDS -> Hash (27601.0) -
@todo
@todo -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (19852.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Enumerable#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (19852.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Enumerable#find_all -
Gem
:: Indexer # sanitize(spec) -> Gem :: Specification (19840.0) -
与えられたスペックの詳細を表す属性をサニタイズします。
与えられたスペックの詳細を表す属性をサニタイズします。
non-ASCII の文字列は、サイトインデックスを文字化けさせることがあります。
non-ASCII の文字列を XML エンティティに置換します。 -
Process
. # clock _ gettime(clock _ id , unit=:float _ second) -> Float | Integer (19591.0) -
POSIX の clock_gettime() 関数の時間を返します。
POSIX の clock_gettime() 関数の時間を返します。
例:
p Process.clock_gettime(Process::CLOCK_MONOTONIC) #=> 896053.968060096
@param clock_id クロックの種類を以下の定数のいずれかで指定します。
サポートされている定数は OS やバージョンに依存します。
: Process::CLOCK_REALTIME
SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS...