別のキーワード
ライブラリ
- ビルトイン (341)
- matrix (66)
- mkmf (66)
-
net
/ http (11) - pathname (22)
- rake (11)
-
rdoc
/ context (22) -
rdoc
/ top _ level (22) -
rexml
/ document (11) -
rubygems
/ command _ manager (22) -
rubygems
/ commands / dependency _ command (22) -
rubygems
/ commands / which _ command (11) -
rubygems
/ dependency _ installer (22) -
rubygems
/ dependency _ list (11) -
rubygems
/ gem _ path _ searcher (22) -
rubygems
/ source _ index (11) -
rubygems
/ spec _ fetcher (11) - socket (22)
- uri (11)
クラス
- Array (125)
- BasicObject (11)
-
Enumerator
:: Lazy (28) -
Gem
:: CommandManager (22) -
Gem
:: Commands :: DependencyCommand (22) -
Gem
:: Commands :: WhichCommand (11) -
Gem
:: DependencyInstaller (22) -
Gem
:: DependencyList (11) -
Gem
:: GemPathSearcher (22) -
Gem
:: SourceIndex (11) -
Gem
:: SpecFetcher (11) - Matrix (66)
-
Net
:: HTTP (11) - Pathname (22)
-
RDoc
:: Context (22) -
RDoc
:: TopLevel (22) - Range (22)
-
Socket
:: AncillaryData (11) -
Socket
:: Ifaddr (11) - String (11)
-
URI
:: Generic (11)
モジュール
- Enumerable (144)
- Kernel (77)
-
REXML
:: Node (11)
キーワード
- bsearch (44)
-
bsearch
_ index (18) - detect (22)
- filter (18)
-
find
_ all (44) -
find
_ command (11) -
find
_ command _ possibilities (11) -
find
_ enclosing _ module _ named (11) -
find
_ executable (11) -
find
_ first _ recursive (11) -
find
_ gems (11) -
find
_ gems _ with _ sources (11) -
find
_ header (11) -
find
_ index (99) -
find
_ library (22) -
find
_ local _ symbol (11) -
find
_ matching (11) -
find
_ module _ named (22) -
find
_ name (22) -
find
_ paths (11) -
find
_ proxy (11) -
find
_ reverse _ dependencies (11) -
find
_ spec _ by _ name _ and _ version (11) -
find
_ type (22) - ifindex (11)
- index (66)
-
ipv6
_ pktinfo _ ifindex (11) - lazy (11)
-
method
_ missing (11) - namespace (11)
- pack (19)
- propfind (11)
- select (33)
- unpack (11)
検索結果
先頭5件
-
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (24308.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
...与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Enumerable#find... -
Pathname
# find -> Enumerator (21333.0) -
self 配下のすべてのファイルやディレクトリを 一つずつ引数 pathname に渡してブロックを実行します。
...self 配下のすべてのファイルやディレクトリを
一つずつ引数 pathname に渡してブロックを実行します。
require 'find'
Find.find(self.to_s) {|f| yield Pathname.new(f)}
と同じです。
ブロックを省略した場合は Enumerator を返します。
@see......Find.#find... -
Pathname
# find {|pathname| . . . } -> nil (21333.0) -
self 配下のすべてのファイルやディレクトリを 一つずつ引数 pathname に渡してブロックを実行します。
...self 配下のすべてのファイルやディレクトリを
一つずつ引数 pathname に渡してブロックを実行します。
require 'find'
Find.find(self.to_s) {|f| yield Pathname.new(f)}
と同じです。
ブロックを省略した場合は Enumerator を返します。
@see......Find.#find... -
Pathname
# find(ignore _ error: true) -> Enumerator (21333.0) -
self 配下のすべてのファイルやディレクトリを 一つずつ引数 pathname に渡してブロックを実行します。
...self 配下のすべてのファイルやディレクトリを
一つずつ引数 pathname に渡してブロックを実行します。
require 'find'
Find.find(self.to_s) {|f| yield Pathname.new(f)}
と同じです。
ブロックを省略した場合は Enumerator を返します。
@para......m ignore_error 探索中に発生した例外を無視するかどうかを指定します。
@see Find.#find... -
Pathname
# find(ignore _ error: true) {|pathname| . . . } -> nil (21333.0) -
self 配下のすべてのファイルやディレクトリを 一つずつ引数 pathname に渡してブロックを実行します。
...self 配下のすべてのファイルやディレクトリを
一つずつ引数 pathname に渡してブロックを実行します。
require 'find'
Find.find(self.to_s) {|f| yield Pathname.new(f)}
と同じです。
ブロックを省略した場合は Enumerator を返します。
@para......m ignore_error 探索中に発生した例外を無視するかどうかを指定します。
@see Find.#find... -
Enumerable
# find(ifnone = nil) -> Enumerator (18321.0) -
要素に対してブロックを評価した値が真になった最初の要素を返します。
...らず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。
ブロックを省略した場合は Enumerator を返します。
@param ifnone call メソ......//emlist[例][ruby]{
# 最初の 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 }
# ArgumentEr......ror: item not found
//}... -
Enumerable
# find(ifnone = nil) {|item| . . . } -> object (18321.0) -
要素に対してブロックを評価した値が真になった最初の要素を返します。
...らず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。
ブロックを省略した場合は Enumerator を返します。
@param ifnone call メソ......//emlist[例][ruby]{
# 最初の 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 }
# ArgumentEr......ror: item not found
//}... -
Kernel
# find _ header(header , *paths) -> bool (15402.0) -
与えられた paths から header を検索し、見つかった場合は真を返します。 そうでない場合は偽を返します。
...header を検索し、見つかった場合は真を返します。
そうでない場合は偽を返します。
ヘッダが見つかったディレクトリをコンパイラに渡すコマンドラインオプショ
ンに追加します(-I オプションを経由します)。
@param header... -
Gem
:: Commands :: DependencyCommand # find _ gems(name , source _ index) -> Hash (15302.0) -
与えられた Gem の名前をインデックスから検索します。
...与えられた Gem の名前をインデックスから検索します。
@param name Gem の名前を指定します。
@param source_index Gem::SourceIndex のインスタンスを指定します。
@see Gem::SourceIndex#search... -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (15302.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
...ッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先に......きます。
@param dep Gem::Dependency のインスタンスを指定します。... -
Enumerable
# find _ index -> Enumerator (12328.0) -
条件に一致する最初の要素の位置を返します。
...素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_index(2) #=> 1
//}
ブロックが与えられた場合には、各要素を引数として先頭から順にブロックを......場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> nil
(1..100).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> 34
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返し... -
Enumerable
# find _ index {|obj| . . . } -> Integer | nil (12328.0) -
条件に一致する最初の要素の位置を返します。
...素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_index(2) #=> 1
//}
ブロックが与えられた場合には、各要素を引数として先頭から順にブロックを......場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> nil
(1..100).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> 34
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返し...