るりまサーチ

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

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. thread abort_on_exception
  5. thread abort_on_exception=

検索結果

<< 1 2 3 > >>

Gem::GemPathSearcher#find(path) -> Gem::Specification | nil (18207.0)

与えられたパスにマッチする Gem::Specification を一つだけ返します。

...与えられたパスにマッチする Gem::Specification を一つだけ返します。

@see Enumerable#find...

Enumerable#find(ifnone = nil) -> Enumerator (15220.0)

要素に対してブロックを評価した値が真になった最初の要素を返します。

...らず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。

ブロックを省略した場合は Enumerator を返します。

@param ifnone call メソ...
...y]{
# 最初の 3 の倍数を探す
p [1, 2, 3, 4, 5].find {|i| i % 3 == 0 } # => 3
p [2, 2, 2, 2, 2].find {|i| i % 3 == 0 } # => nil

# ifnone の使用例
ifnone = proc { raise ArgumentError, "item not found" }
p [1, 2, 3, 4, 5].find(ifnone) {|i| i % 7 == 0 }
# ArgumentError: item not fou...

Enumerable#find(ifnone = nil) {|item| ... } -> object (15220.0)

要素に対してブロックを評価した値が真になった最初の要素を返します。

...らず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。

ブロックを省略した場合は Enumerator を返します。

@param ifnone call メソ...
...y]{
# 最初の 3 の倍数を探す
p [1, 2, 3, 4, 5].find {|i| i % 3 == 0 } # => 3
p [2, 2, 2, 2, 2].find {|i| i % 3 == 0 } # => nil

# ifnone の使用例
ifnone = proc { raise ArgumentError, "item not found" }
p [1, 2, 3, 4, 5].find(ifnone) {|i| i % 7 == 0 }
# ArgumentError: item not fou...

Gem::DependencyInstaller#find_spec_by_name_and_version(gem_name, version = Gem::Requirement.default) -> Array (12301.0)

与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。

...れた Gem の名前とバージョンに関する条件にマッチする Gem::Specification
それの存在する URI を含む配列を返します。

@param gem_name Gem の名前を指定します。

@param version Gem が満たすバージョンに関する条件を指定します。...

RDoc::Context#find_enclosing_module_named(name) -> RDoc::NormalModule | nil (9117.0)

find a module at a higher scope

...
find
a module at a higher scope...

絞り込み条件を変える

RDoc::Context#record_location(toplevel) (9116.0)

Record the file that we happen to find it in

...Record the file that we happen to find it in...

RDoc::Context#find_local_symbol(symbol) (9101.0)

Finds a method, constant, attribute, module or files named +symbol+ in this context

...
Find
s a method, constant, attribute, module or files named +symbol+ in
this context...

RDoc::Context#find_module_named(name) -> RDoc::NormalModule | nil (9101.0)

追加された RDoc::NormalModule から引数で指定した名前のモジュール を検索します。見つからなかった場合は nil を返します。

追加された RDoc::NormalModule から引数で指定した名前のモジュール
を検索します。見つからなかった場合は nil を返します。

@param name モジュールの名前を文字列で指定します。

RDoc::Context#find_symbol(symbol, method=nil) (9101.0)

Look up the given symbol. If method is non-nil, then we assume the symbol references a module that contains that method

...Look up the given symbol. If method is non-nil, then we assume
the symbol references a module that contains that method...
<< 1 2 3 > >>