るりまサーチ

最速Rubyリファレンスマニュアル検索!
173件ヒット [1-100件を表示] (0.043秒)
トップページ > クエリ:nil[x] > クエリ:specification[x]

別のキーワード

  1. _builtin nil?
  2. nilclass nil?
  3. object nil?
  4. object nil
  5. _builtin nil

検索結果

<< 1 2 > >>

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...

絞り込み条件を変える

<< 1 2 > >>