別のキーワード
ライブラリ
- ビルトイン (327)
- bigdecimal (12)
-
cgi
/ html (24) - csv (12)
- delegate (12)
- e2mmap (6)
- erb (12)
-
irb
/ cmd / load (12) -
irb
/ context (24) - json (24)
- matrix (12)
- mkmf (216)
-
net
/ imap (72) -
net
/ smtp (60) - openssl (24)
- rake (36)
-
rdoc
/ context (24) -
rdoc
/ top _ level (12) - resolv (336)
- rss (312)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ config _ file (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ gem _ path _ searcher (72) -
rubygems
/ indexer (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (252) -
rubygems
/ source _ info _ cache (252) -
rubygems
/ source _ info _ cache _ entry (36) -
rubygems
/ spec _ fetcher (24) -
shell
/ filter (6) - socket (36)
- strscan (12)
- uri (48)
-
webrick
/ httpresponse (12) - win32ole (36)
- zlib (12)
クラス
- Array (44)
- BigDecimal (12)
- Binding (7)
- CSV (12)
- Class (12)
- Complex (12)
- ERB (12)
-
Encoding
:: Converter (72) -
Encoding
:: InvalidByteSequenceError (24) -
Encoding
:: UndefinedConversionError (24) -
Enumerator
:: Lazy (12) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: ConfigFile (24) -
Gem
:: DependencyInstaller (12) -
Gem
:: GemPathSearcher (72) -
Gem
:: Indexer (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (252) -
Gem
:: SourceInfoCache (252) -
Gem
:: SourceInfoCacheEntry (36) -
Gem
:: SpecFetcher (24) -
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Source (12) -
JSON
:: Parser (12) -
JSON
:: State (12) - Matrix (12)
- Method (12)
- Module (12)
-
Net
:: IMAP (72) -
Net
:: SMTP (60) - Numeric (12)
-
OpenSSL
:: BN (12) -
OpenSSL
:: Cipher (12) - Proc (12)
-
RDoc
:: Context (24) -
RDoc
:: Options (48) -
RDoc
:: TopLevel (12) -
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: Maker :: ItemsBase :: ItemBase (12) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (48) -
RSS
:: RDF :: Channel :: Image (24) -
RSS
:: RDF :: Channel :: Items (12) -
RSS
:: RDF :: Channel :: Textinput (24) -
RSS
:: Rss :: Channel :: Item (24) -
RSS
:: Rss :: Channel :: Item :: Source (48) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (12) -
RSS
:: TrackBackModel10 :: TrackBackAbout (24) -
RSS
:: TrackBackModel10 :: TrackBackPing (24) -
Rake
:: Task (36) - Range (24)
- Rational (12)
- Regexp (12)
-
Resolv
:: DNS (36) -
Resolv
:: DNS :: Resource :: DomainName (12) -
Resolv
:: DNS :: Resource :: HINFO (24) -
Resolv
:: DNS :: Resource :: IN :: A (12) -
Resolv
:: DNS :: Resource :: IN :: AAAA (12) -
Resolv
:: DNS :: Resource :: IN :: SRV (48) -
Resolv
:: DNS :: Resource :: IN :: WKS (36) -
Resolv
:: DNS :: Resource :: MINFO (24) -
Resolv
:: DNS :: Resource :: MX (24) -
Resolv
:: DNS :: Resource :: SOA (84) -
Resolv
:: DNS :: Resource :: TXT (24) -
Shell
:: Filter (6) -
Socket
:: UDPSource (36) - String (12)
- StringScanner (12)
-
URI
:: Generic (48) - UnboundMethod (12)
-
WEBrick
:: HTTPResponse (12) -
WIN32OLE
_ TYPE (36) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: HtmlExtension (24) - DublinCoreModel (36)
- Exception2MessageMapper (6)
-
Gem
:: LocalRemoteOptions (24) - Kernel (228)
キーワード
- - (12)
- < (6)
- DelegateClass (12)
-
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ source _ option (12) -
add
_ spec (12) -
add
_ specs (12) -
add
_ update _ sources _ option (12) - address (36)
- bitmap (12)
- bsearch (48)
-
bsearch
_ index (20) -
cache
_ data (12) -
cache
_ file (12) -
check
_ circular? (12) - coerce (84)
-
collect
_ specs (12) -
const
_ source _ location (12) - content (24)
- content= (24)
- convert (12)
- cpu (12)
- crc (12)
-
create
_ makefile (12) -
create
_ tmpsrc (12) - data (12)
-
dc
_ source (12) -
dc
_ source= (12) -
dc
_ sources (12) -
def
_ exception (6) -
default
_ event _ sources (12) - download (12)
-
dummy
_ makefile (12) - dump (12)
- each (24)
-
each
_ resource (12) -
egrep
_ cpp (24) - emailbx (12)
- exchange (12)
- execute (12)
- expire (12)
-
fetch
_ spec (12) - find (12)
-
find
_ all (12) -
find
_ gems (12) -
find
_ gems _ with _ sources (12) -
find
_ name (12) - flush (12)
- force (12)
-
force
_ encoding (12) -
force
_ output (12) -
force
_ output= (12) -
force
_ quotes? (12) -
force
_ update (12) -
gem
_ signature (12) - getresource (12)
- getresources (12)
- hierarchical? (12)
- img (12)
-
index
_ signature (12) -
init
_ gemspecs (12) -
inline
_ source (12) -
install
_ files (12) -
install
_ rb (12) -
latest
_ cache _ data (12) -
latest
_ cache _ file (12) -
latest
_ specs (12) -
latest
_ system _ cache _ file (12) -
latest
_ user _ cache _ file (12) - length (12)
-
lib
_ dirs _ for (12) -
load
_ gems _ in (12) -
load
_ specs (12) -
local
_ address (12) -
log
_ src (12) -
matching
_ file? (12) -
matching
_ files (12) - minimum (12)
- mname (12)
- name (12)
- os (12)
- outdated (12)
-
pkcs5
_ keyivgen (12) - port (12)
- preference (12)
-
primitive
_ convert (48) - priority (12)
- protocol (12)
- rc? (12)
- rcptto (12)
-
rcptto
_ list (12) -
read
_ all _ cache _ data (12) -
read
_ cache _ data (12) - refresh (36)
- refresh! (12)
-
remote
_ address (12) -
remove
_ spec (12) - reply (12)
-
reset
_ cache _ data (12) -
reset
_ cache _ file (12) -
reset
_ cache _ for (12) - resource (60)
- resource= (60)
- resources (24)
- retry (12)
- rmailbx (12)
- rname (12)
-
route
_ from (12) - search (36)
-
search
_ full (12) -
search
_ with _ source (12) -
send
_ mail (12) - sendmail (12)
- serial (12)
-
set
_ cache _ data (12) - size (36)
- sort (12)
- source (60)
- source= (12)
-
source
_ encoding (36) -
source
_ encoding _ name (24) -
source
_ index (12) -
source
_ location (43) -
source
_ ole _ types (12) - sources (12)
- sources= (12)
-
spec
_ dirs (12) -
spec
_ dirs= (12) - specification (12)
- src (12)
-
src
_ type (12) - status (12)
- strings (12)
- superclass (12)
-
system
_ cache _ file (12) - target (12)
- thread (12)
-
try
_ compile (24) -
try
_ cpp (24) -
try
_ do (24) -
try
_ file (12) -
try
_ link (24) -
try
_ run (24) -
uid
_ search (12) -
uid
_ sort (12) -
uid
_ thread (12) - update (24)
-
update
_ sources (12) -
update
_ sources= (12) - url (24)
- url= (24)
-
user
_ cache _ file (12) - weight (12)
-
write
_ cache (12)
検索結果
先頭5件
-
Rake
:: Task # sources=(sources) (6201.0) -
自身が依存するファイルのリストをセットします。
...自身が依存するファイルのリストをセットします。
@param sources 自身が依存するファイルのリストを指定します。... -
Resolv
:: DNS # each _ resource(name , typeclass) {|resource| . . . } -> () (6201.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソースをひとつずつブロックに渡します。
...::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN::......solv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (6201.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
...::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN::......solv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (6201.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
...::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN::......solv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
IRB
:: Context # rc? -> bool (6103.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
...~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま... -
Array
# bsearch -> Enumerator (6101.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探 索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し ます。self はあらかじめソートしておく必要があります。
...します。
//emlist[例][ruby]{
ary = [0, 4, 7, 10, 12]
ary.bsearch {|x| x >= 4 } # => 4
ary.bsearch {|x| x >= 6 } # => 7
ary.bsearch {|x| x >= -1 } # => 0
ary.bsearch {|x| x >= 100 } # => nil
//}
find-any モードは bsearch(3) のように動作します。ブロックは真偽値
では......返します。
//emlist[例][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素を検索
ary.bsearch {|x| 1 - x / 4 } # => 4 or 7
# 8 <= v < 10 になる要素を検索
ary.bsearch {|x| 4 - x / 2 } # => nil
//}
上記の 2 つのモードを混在して使用しないでください(ブ......場合は、 Enumerator のインスタンスを返します。
@raise TypeError ブロックの評価結果が true、false、nil、数値以外であっ
た場合に発生します。
@see Range#bsearch, https://magazine.rubyist.net/articles/0041/0041-200Special-note.html......merator のインスタンスを返します。
@raise TypeError ブロックの評価結果が true、false、nil、数値以外であっ
た場合に発生します。
@see Array#bsearch_index, Range#bsearch, https://magazine.rubyist.net/articles/0041/0041-200Special-note.html... -
Array
# bsearch { |x| . . . } -> object | nil (6101.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探 索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し ます。self はあらかじめソートしておく必要があります。
...します。
//emlist[例][ruby]{
ary = [0, 4, 7, 10, 12]
ary.bsearch {|x| x >= 4 } # => 4
ary.bsearch {|x| x >= 6 } # => 7
ary.bsearch {|x| x >= -1 } # => 0
ary.bsearch {|x| x >= 100 } # => nil
//}
find-any モードは bsearch(3) のように動作します。ブロックは真偽値
では......返します。
//emlist[例][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素を検索
ary.bsearch {|x| 1 - x / 4 } # => 4 or 7
# 8 <= v < 10 になる要素を検索
ary.bsearch {|x| 4 - x / 2 } # => nil
//}
上記の 2 つのモードを混在して使用しないでください(ブ......場合は、 Enumerator のインスタンスを返します。
@raise TypeError ブロックの評価結果が true、false、nil、数値以外であっ
た場合に発生します。
@see Range#bsearch, https://magazine.rubyist.net/articles/0041/0041-200Special-note.html......merator のインスタンスを返します。
@raise TypeError ブロックの評価結果が true、false、nil、数値以外であっ
た場合に発生します。
@see Array#bsearch_index, Range#bsearch, https://magazine.rubyist.net/articles/0041/0041-200Special-note.html... -
Array
# bsearch _ index -> Enumerator (6101.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...ドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要素自
身を返すか位置を返すかのみです。各モードのより詳細な違いについては
Array#bsearch を参照してく......y.bsearch_index { |x| x >= 4 } # => 1
ary.bsearch_index { |x| x >= 6 } # => 2
ary.bsearch_index { |x| x >= -1 } # => 0
ary.bsearch_index { |x| x >= 100 } # => nil
//}
//emlist[例: find-any モード][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
ary.bsearch_ind......ex { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
ary.bsearch_index { |x| 4 - x / 2 } # => nil
//}
@see Array#bsearch... -
Array
# bsearch _ index { |x| . . . } -> Integer | nil (6101.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...ドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要素自
身を返すか位置を返すかのみです。各モードのより詳細な違いについては
Array#bsearch を参照してく......y.bsearch_index { |x| x >= 4 } # => 1
ary.bsearch_index { |x| x >= 6 } # => 2
ary.bsearch_index { |x| x >= -1 } # => 0
ary.bsearch_index { |x| x >= 100 } # => nil
//}
//emlist[例: find-any モード][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
ary.bsearch_ind......ex { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
ary.bsearch_index { |x| 4 - x / 2 } # => nil
//}
@see Array#bsearch...