別のキーワード
種類
- インスタンスメソッド (13)
- 特異メソッド (10)
- ライブラリ (2)
ライブラリ
クラス
-
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (2) -
Gem
:: SourceIndex (4) -
Gem
:: Specification (16)
キーワード
-
array
_ attribute (1) - attribute (1)
-
attribute
_ names (1) -
default
_ value (1) -
file
_ name (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
full
_ name (1) - load (1)
-
load
_ specification (1) - name= (1)
-
original
_ name (1) -
overwrite
_ accessor (1) -
read
_ only (1) -
remove
_ by _ name (1) -
remove
_ spec (1) -
required
_ attribute (1) -
required
_ attribute? (1) - rss (1)
-
rubygems
/ specification (1)
検索結果
先頭5件
- Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil - Gem
:: Specification # name -> String - Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil - Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array - Gem
:: Specification # name=(name)
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (73576.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Specification # name -> String (72304.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (37576.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 (37273.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Specification # name=(name) (36625.0) -
この Gem パッケージの名前をセットします。
この Gem パッケージの名前をセットします。
@param name この Gem パッケージの名前を指定します。 -
Gem
:: Specification # full _ name -> String (36370.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # original _ name -> String (36340.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # file _ name -> String (36304.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification . attribute _ names -> Array (36301.0) -
属性名の配列を返します。
属性名の配列を返します。 -
rubygems
/ specification (36055.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
Gem パッケージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (19528.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (19312.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (19312.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: Specification . load(filename) -> Gem :: Specification (18904.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
Gem
:: Specification . array _ attribute(name) -> () (18388.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (18340.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . default _ value(name) -> object (18322.0) -
与えられた名前の属性のデフォルト値を返します。
与えられた名前の属性のデフォルト値を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . overwrite _ accessor(name) { . . . } -> () (18322.0) -
呼び出し時に特別な動作をする必要のある属性があります。 このメソッドはそういうことを可能にします。
呼び出し時に特別な動作をする必要のある属性があります。
このメソッドはそういうことを可能にします。
ブロックパラメータは任意のものを使用することができます。
@param name 属性名を指定します。 -
Gem
:: Specification . required _ attribute?(name) -> bool (18322.0) -
必須属性であれば真を返します。
必須属性であれば真を返します。
@param name 属性名を指定します。 -
Gem
:: Specification # author=(name) (18304.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification . attribute(name) -> () (18304.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification # authors=(names) (18301.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
Gem
:: Specification . read _ only(*names) -> () (18301.0) -
与えられた属性名を読み取り専用にします。
与えられた属性名を読み取り専用にします。
@param names 属性名を一つ以上指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (907.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
rss (109.0)
-
RSS を扱うためのライブラリです。
RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, Atom 1.0 をサポートしていますが,RSS 0.90
はサポートしてませ...