198件ヒット
[1-100件を表示]
(0.015秒)
別のキーワード
クラス
-
Gem
:: Specification (198)
キーワード
-
_ load (11) -
array
_ attribute (11) -
array
_ attributes (11) - attribute (11)
-
attribute
_ alias _ singular (11) -
attribute
_ defaults (11) -
attribute
_ names (11) - attributes (11)
-
default
_ value (11) -
from
_ yaml (11) - list (11)
- load (11)
-
normalize
_ yaml _ input (11) -
overwrite
_ accessor (11) -
read
_ only (11) -
required
_ attribute (11) -
required
_ attribute? (11) -
required
_ attributes (11)
検索結果
先頭5件
-
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (3109.0) -
YAML ファイルから gemspec をロードします。
...m::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジ... -
Gem
:: Specification . _ load(str) -> Gem :: Specification (3103.0) -
マーシャルされたデータをロードするためのメソッドです。
マーシャルされたデータをロードするためのメソッドです。
@param str マーシャルされたデータを指定します。 -
Gem
:: Specification . load(filename) -> Gem :: Specification (3103.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (3009.0) -
YAML 形式の gemspec を正しくフォーマットします。
...YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。... -
Gem
:: Specification . array _ attribute(name) -> () (3003.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
...Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute... -
Gem
:: Specification . array _ attributes -> Array (3003.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Specification . attribute(name) -> () (3003.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (3003.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 (3003.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (3003.0) -
属性名の配列を返します。
属性名の配列を返します。