173件ヒット
[1-100件を表示]
(0.043秒)
種類
- インスタンスメソッド (96)
- 特異メソッド (33)
- 文書 (22)
- ライブラリ (22)
ライブラリ
- ビルトイン (30)
-
rubygems
/ dependency _ list (11) -
rubygems
/ gem _ path _ searcher (11) -
rubygems
/ package / tar _ input (11) -
rubygems
/ source _ index (22) -
rubygems
/ specification (44)
クラス
- Array (19)
-
Gem
:: DependencyList (11) -
Gem
:: GemPathSearcher (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: SourceIndex (22) -
Gem
:: Specification (44) - String (11)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) -
add
_ bindir (11) - attributes (11)
-
default
_ executable (11) - find (11)
-
find
_ name (11) -
load
_ gemspec (11) -
load
_ specification (11) -
net
/ http (11) - pack (19)
- pack テンプレート文字列 (11)
-
required
_ attribute (11) - rss (11)
- unpack (11)
検索結果
先頭5件
- Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil - Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil - Gem
:: Specification . required _ attribute(name , default = nil) -> () - Gem
:: Specification # add _ bindir(executables) -> Array | nil - Gem
:: Specification # default _ executable -> String | nil
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (18319.0) -
指定された名前の Gem::Specification オブジェクトを返します。
...指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。... -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (6319.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
...与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise... -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (3107.0) -
必須の属性を作成します。
...必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute... -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (3101.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # default _ executable -> String | nil (3101.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification . attributes(*args) -> () (3006.0) -
複数の属性を一度に作成するために使用します。
...複数の属性を一度に作成するために使用します。
各属性のデフォルト値は nil になります。
@param args 属性名を一つ以上指定します。... -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (230.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
...身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name... -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (218.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
...与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find... -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (208.0) -
YAML 形式の gemspec を io から読み込みます。
...YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml... -
rss (78.0)
-
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......は,
例外 RSS::NotWellFormedError が発生します。well formed な
XML だが,RSS 0.9x/1.0/2.0, Atom のいずれでもない場合は,nil が
返ります.
例えば、RSS 1.0 をバリデーション付きでパースするには以下のよ
うにします。ここで、変数 rss_......id ではない RSS だった
場合はバリデーション無しでパースするには以下のように書きます。
require 'rss'
rss = nil
begin
rss = RSS::Parser.parse(rss_source)
rescue RSS::InvalidRSSError
rss = RSS::Parser.parse(rss_source, false)
end
これは rss_s...