226件ヒット
[1-100件を表示]
(0.145秒)
ライブラリ
- ビルトイン (11)
-
rubygems
/ source _ index (22) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (176) -
shell
/ command-processor (6)
クラス
- Encoding (11)
-
Gem
:: SourceIndex (22) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (176) -
Shell
:: CommandProcessor (6)
キーワード
-
_ load (11) -
array
_ attribute (11) -
array
_ attributes (11) - attribute (11)
-
attribute
_ alias _ singular (11) -
attribute
_ defaults (11) -
attribute
_ names (11) - attributes (11)
-
def
_ builtin _ commands (6) -
default
_ internal (11) -
from
_ yaml (11) - list (11)
-
load
_ specification (11) - new (11)
-
normalize
_ yaml _ input (11) -
overwrite
_ accessor (11) -
read
_ only (11) -
required
_ attribute (11) -
required
_ attribute? (11) -
required
_ attributes (11) - search (11)
検索結果
先頭5件
-
Gem
:: Specification . required _ attribute(name , default = nil) -> () (18301.0) -
必須の属性を作成します。
...必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute... -
Gem
:: Specification . required _ attribute?(name) -> bool (18301.0) -
必須属性であれば真を返します。
...必須属性であれば真を返します。
@param name 属性名を指定します。... -
Gem
:: Specification . required _ attributes -> Array (18301.0) -
必須属性のリストを返します。
必須属性のリストを返します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (15501.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
...名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロ... -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (12407.0) -
YAML ファイルから gemspec をロードします。
...イルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョ......ンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。... -
Gem
:: Specification . array _ attributes -> Array (12301.0) -
@@array_attributes の複製を返します。
...@@array_attributes の複製を返します。
@see Object#dup... -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (12207.0) -
YAML 形式の gemspec を正しくフォーマットします。
...YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。... -
Gem
:: Specification . array _ attribute(name) -> () (12201.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
...Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute... -
Gem
:: Specification . attribute(name) -> () (12201.0) -
デフォルト値を指定したアクセサを定義するために使用します。
...フォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読... -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (12201.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...に定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形...