ライブラリ
- ビルトイン (27)
-
irb
/ cmd / load (2) -
irb
/ extend-command (1) - json (8)
- objspace (2)
- rake (4)
- resolv (63)
-
rexml
/ document (7) -
rexml
/ parsers / pullparser (1) -
rexml
/ parsers / sax2parser (1) -
rexml
/ parsers / streamparser (1) - rss (33)
- rubygems (1)
-
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / sources _ command (1) -
rubygems
/ config _ file (3) -
rubygems
/ defaults (3) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ exceptions (1) -
rubygems
/ indexer (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ source _ index (27) -
rubygems
/ source _ info _ cache (31) -
rubygems
/ source _ info _ cache _ entry (5) -
rubygems
/ spec _ fetcher (2) - socket (29)
- un (3)
-
win32
/ registry (3) - win32ole (2)
クラス
-
Encoding
:: Converter (11) -
Encoding
:: InvalidByteSequenceError (3) -
Encoding
:: UndefinedConversionError (3) -
Gem
:: Commands :: DependencyCommand (1) -
Gem
:: ConfigFile (3) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (1) -
Gem
:: Indexer (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (26) -
Gem
:: SourceInfoCache (30) -
Gem
:: SourceInfoCacheEntry (4) -
Gem
:: SpecFetcher (2) -
IRB
:: ExtendCommand :: Source (1) -
JSON
:: Parser (3) - Method (1)
- Proc (1)
-
RDoc
:: Options (1) -
REXML
:: AttlistDecl (1) -
REXML
:: DocType (1) -
REXML
:: Document (2) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Parsers :: SAX2Parser (1) -
REXML
:: Parsers :: StreamParser (1) -
RSS
:: ImageItemModel :: ImageItem (2) -
RSS
:: Maker :: ItemsBase :: ItemBase (4) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (4) -
RSS
:: RDF :: Channel :: Image (2) -
RSS
:: RDF :: Channel :: Items (1) -
RSS
:: RDF :: Channel :: Textinput (2) -
RSS
:: Rss :: Channel :: Item (2) -
RSS
:: Rss :: Channel :: Item :: Source (4) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (1) -
RSS
:: TrackBackModel10 :: TrackBackAbout (2) -
RSS
:: TrackBackModel10 :: TrackBackPing (2) -
Rake
:: Task (3) - Regexp (1)
-
Resolv
:: DNS (3) -
Resolv
:: DNS :: Resource :: DomainName (1) -
Resolv
:: DNS :: Resource :: HINFO (3) -
Resolv
:: DNS :: Resource :: IN :: A (2) -
Resolv
:: DNS :: Resource :: IN :: AAAA (2) -
Resolv
:: DNS :: Resource :: IN :: SRV (5) -
Resolv
:: DNS :: Resource :: IN :: WKS (4) -
Resolv
:: DNS :: Resource :: MINFO (3) -
Resolv
:: DNS :: Resource :: MX (3) -
Resolv
:: DNS :: Resource :: SOA (8) -
Resolv
:: DNS :: Resource :: TXT (3) -
RubyVM
:: InstructionSequence (2) - Socket (12)
-
Socket
:: UDPSource (4) - UnboundMethod (1)
-
WIN32OLE
_ TYPE (2)
モジュール
- DublinCoreModel (3)
- Gem (4)
-
Gem
:: LocalRemoteOptions (2) -
IRB
:: ExtendCommandBundle (1) - JSON (4)
-
JSON
:: Generator :: GeneratorMethods :: String (1) - Kernel (4)
- ObjectSpace (2)
- Process (3)
-
Socket
:: Constants (12) -
Win32
:: Registry :: Constants (3)
キーワード
- A (1)
- AAAA (1)
- ANY (2)
- CNAME (2)
-
DEFAULT
_ UPDATE _ SOURCES (1) - DomainName (1)
- Generic (1)
- HINFO (2)
- IN (1)
- IOSource (1)
-
IP
_ ADD _ SOURCE _ MEMBERSHIP (2) -
IP
_ BLOCK _ SOURCE (2) -
IP
_ DROP _ SOURCE _ MEMBERSHIP (2) -
IP
_ MSFILTER (2) -
IP
_ UNBLOCK _ SOURCE (2) -
MCAST
_ BLOCK _ SOURCE (2) -
MCAST
_ EXCLUDE (2) -
MCAST
_ INCLUDE (2) -
MCAST
_ JOIN _ SOURCE _ GROUP (2) -
MCAST
_ LEAVE _ SOURCE _ GROUP (2) -
MCAST
_ MSFILTER (2) -
MCAST
_ UNBLOCK _ SOURCE (2) - MINFO (2)
- MX (2)
- NS (2)
- PTR (2)
-
REG
_ FULL _ RESOURCE _ DESCRIPTOR (1) -
REG
_ RESOURCE _ LIST (1) -
REG
_ RESOURCE _ REQUIREMENTS _ LIST (1) - RemoteSourceException (1)
- Resource (1)
- SOA (2)
- SRV (1)
- SourceBase (1)
- SourceFactory (1)
- SourceIndex (1)
- SourceInfoCache (1)
- SourceInfoCacheEntry (1)
- SourcesCommand (1)
- TXT (2)
- UDPSource (1)
- UndefinedConversionError (1)
- WKS (1)
-
add
_ source _ option (1) -
add
_ spec (1) -
add
_ specs (1) -
add
_ update _ sources _ option (1) - address (3)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) - bitmap (1)
- cache (1)
-
cache
_ data (2) -
cache
_ file (1) - categories (1)
-
collect
_ specs (1) - compile (1)
- content (2)
- content= (2)
- convert (1)
- cp (1)
- cpu (1)
- data (1)
-
dc
_ source (1) -
dc
_ source= (1) -
dc
_ sources (1) -
default
_ event _ sources (1) -
default
_ sources (1) -
default
_ system _ source _ cache _ dir (1) -
default
_ user _ source _ cache _ dir (1) -
destination
_ encoding (2) - download (1)
- dump (1)
- each (2)
-
each
_ resource (1) - emailbx (1)
- enclosure (1)
- exchange (1)
- execute (1)
- expire (1)
-
fetch
_ spec (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ name (1) - flush (1)
-
from
_ gems _ in (1) -
from
_ installed _ gems (1) -
from
_ source _ index (1) -
gem
_ signature (1) - getresource (1)
- getresources (1)
- getrlimit (1)
- guid (1)
-
index
_ signature (1) -
inline
_ source (1) - install (1)
-
install
_ extend _ commands (1) -
installed
_ spec _ directories (1) - irb (1)
-
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (1) -
latest
_ system _ cache _ file (2) -
latest
_ user _ cache _ file (2) - length (1)
- load (1)
-
load
_ gems _ in (1) -
load
_ specification (1) -
load
_ specs (1) -
local
_ address (1) -
mark
_ source _ filename (1) - minimum (1)
- mname (1)
- mv (1)
- name (1)
- new (23)
- os (1)
- outdated (1)
- parse (2)
- parse! (1)
-
parse
_ stream (1) - port (1)
- preference (1)
-
primitive
_ convert (4) -
primitive
_ errinfo (1) - priority (1)
- protocol (1)
-
rb
_ source _ filename (1) -
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) - refresh (3)
- refresh! (1)
-
remote
_ address (1) -
remove
_ spec (1) - reply (1)
- reset (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ file (1) -
reset
_ cache _ for (1) - resource (5)
- resource= (5)
- resources (2)
- restore (1)
- retry (1)
- rmailbx (1)
- rname (1)
-
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / fetch _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / mirror _ command (1) -
rubygems
/ commands / outdated _ command (1) -
rubygems
/ commands / query _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / sources _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ source _ index (1) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ source _ info _ cache _ entry (1) - rule (1)
- search (3)
-
search
_ convpath (1) -
search
_ with _ source (2) - serial (1)
-
set
_ cache _ data (1) - setrlimit (2)
- size (3)
- source (5)
- source= (1)
-
source
_ encoding (3) -
source
_ encoding _ name (2) -
source
_ index (2) -
source
_ location (3) -
source
_ ole _ types (1) - sources (1)
- sources= (1)
-
spec
_ dirs (1) -
spec
_ dirs= (1) - specification (1)
- strings (1)
-
sweep
_ source _ filename (1) -
system
_ cache _ file (2) - target (1)
-
to
_ json _ raw _ object (1) -
try
_ file (1) - un (1)
- update (2)
-
update
_ sources (1) -
update
_ sources= (1) - url (2)
- url= (2)
-
user
_ cache _ file (2) - weight (1)
-
write
_ cache (1) - 多言語化 (1)
検索結果
先頭5件
- Encoding
:: InvalidByteSequenceError # source _ encoding -> Encoding - Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding - Encoding
:: Converter # source _ encoding -> Encoding - Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding - Encoding
:: UndefinedConversionError # source _ encoding -> Encoding
-
Encoding
:: InvalidByteSequenceError # source _ encoding -> Encoding (114622.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#destination_encoding,
Encoding::UndefinedConversionError#source_encoding -
Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding (114622.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#source_encoding -
Encoding
:: Converter # source _ encoding -> Encoding (105622.0) -
変換元のエンコーディングを返します。
変換元のエンコーディングを返します。
@return 変換元のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.source_encoding #=> #<Encoding:UTF-8>
//} -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (105622.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding -
Encoding
:: UndefinedConversionError # source _ encoding -> Encoding (105604.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
変換が多段階になされる場合は元の文字列のものではない
エンコーディングが返される場合があることに注意してください。
@see Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (96319.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (87319.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (78985.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (78985.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol (78985.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (78985.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # convert(source _ string) -> String (78658.0) -
与えられた文字列を変換して、変換できた結果を返します。 引数の末尾の文字がバイト列の途中で終わっている場合、そのバイト列は変換器内に取り置かれます。 変換を終了させるには Encoding::Converter#finish を呼びます。
与えられた文字列を変換して、変換できた結果を返します。
引数の末尾の文字がバイト列の途中で終わっている場合、そのバイト列は変換器内に取り置かれます。
変換を終了させるには Encoding::Converter#finish を呼びます。
Encoding::Converter を用いると、文字列の一部または全部を渡して変換を行うことができます。よって、不正なバイトを意識せずにストリームから読み出した文字列を変換したいときには Encoding::Converter が適します。
なお、Encoding::Converter#convert では、これらの例外を捕獲しても、例外を起こしたと... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (78625.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (78625.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (78622.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
@param source_encoding 変換元の文字エンコーディングを Encoding オ
ブジェクトか文字列で指定します。
@param destination_encoding 変換先の文字エンコーディングを
Encoding オブジェクトか文字列で指定し
ます。
@param options 変換の詳細を指定する定数やハッシュを指定します。
... -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (78325.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter # primitive _ errinfo -> Array (78319.0) -
直前の Encoding::Converter#primitive_convert による変換の結果を保持する五要素の配列を返します。
直前の Encoding::Converter#primitive_convert による変換の結果を保持する五要素の配列を返します。
@return [result, enc1, enc2, error_bytes, readagain_bytes] という五要素の配列
result は直前の primitive_convert の戻り値です。
それ以外の四要素は :invalid_byte_sequence か :incomplete_input か :undefined_conversion だった場合に意味を持ちます。
enc1 はエラーの発生した原始変換の変換元のエンコーディング... -
Encoding
:: UndefinedConversionError (78037.0) -
エンコーディング変換後の文字が存在しない場合に発生する例外。
エンコーディング変換後の文字が存在しない場合に発生する例外。
UTF-8 にしかない文字を EUC-JP に変換しようとした場合などに発生します。
//emlist[例][ruby]{
"\u2603".encode(Encoding::EUC_JP)
#=> Encoding::UndefinedConversionError: U+2603 from UTF-8 to EUC-JP
//}
変換が多段階でなされ、その途中で例外が生じた場合は、
例外オブジェクトが保持するエラー情報はその中間のものになります。
//emlist[例][ruby]{
ec = Encoding::Co... -
IRB
:: ExtendCommand :: Source (72049.0) -
irb 中の irb_source コマンドのための拡張を定義したクラスです。
irb 中の irb_source コマンドのための拡張を定義したクラスです。 -
REXML
:: Source (72001.0) -
内部用なのでユーザは使わないでください。
内部用なのでユーザは使わないでください。
各種入力を wrap するクラス。 -
RSS
:: Maker :: RSS09 :: Items :: Item :: Source (72001.0) -
-
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (72001.0) -
RSS 2.0を生成するときだけ利用されます.
RSS 2.0を生成するときだけ利用されます.
url,contentを設定する必要があります. -
RSS
:: Rss :: Channel :: Item :: Source (72001.0) -
-
WIN32OLE
_ TYPE # source _ ole _ types -> [WIN32OLE _ TYPE] (64240.0) -
型が持つソースインターフェイスを取得します。
型が持つソースインターフェイスを取得します。
source_ole_typesメソッドは、selfがCoClass(コンポーネントクラス)の場合、
そのクラスがサポートするすべてのソースインターフェイス(イベントの通知
元となるインターフェイス)を返します。
ActiveXコントロールのようにイベント(WIN32OLE_EVENT)をサポートし
ているコンポーネントクラスの場合は、このメソッドの呼び出しによりイベン
トインターフェイスを調べることが可能です。
@return ソースインターフェイスをWIN32OLE_TYPEの配列として返します。
ソースインターフェイスを... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (54901.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
nameに対応するDNSリソースレコードを取得します。
見つかったリソース全てを配列にして返します。
typeclass は以下のいずれかです。
* Resolv::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:... -
Gem
:: SourceInfoCacheEntry # source _ index -> Gem :: SourceIndex (45904.0) -
このキャッシュエントリに対するソースインデックスです。
このキャッシュエントリに対するソースインデックスです。 -
RSS
:: RDF :: Channel :: Items # resources (45901.0) -
@todo
@todo -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics # resources (45901.0) -
@todo
@todo -
Resolv
:: DNS # each _ resource(name , typeclass) {|resource| . . . } -> () (45901.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソースをひとつずつブロックに渡します。
nameに対応するDNSリソースレコードを取得します。
見つかったリソースをひとつずつブロックに渡します。
typeclass は以下のいずれかです。
* Resolv::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
* Res... -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (45901.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
nameに対応するDNSリソースレコードを取得します。
最初に見つかったリソースを返します。
typeclass は以下のいずれかです。
* Resolv::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... -
Gem
:: LocalRemoteOptions # add _ source _ option (45652.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (45649.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: SourceInfoCache . search _ with _ source(*args) -> Array (45640.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search_with_source と引数を合わせてください。
@see Gem::SourceInfoCache#search_with_source -
Gem
. default _ system _ source _ cache _ dir -> String (45604.0) -
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。 -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (45604.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (45601.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
RSS
:: ImageItemModel :: ImageItem # resource (45601.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # resource= (45601.0) -
@todo
@todo -
Resolv
:: DNS :: Resource :: IN :: A # address -> Resolv :: IPv4 (45601.0) -
IPv4アドレスを返します。
IPv4アドレスを返します。 -
Resolv
:: DNS :: Resource :: IN :: AAAA # address -> Resolv :: IPv6 (45601.0) -
IPv6アドレスを返します。
IPv6アドレスを返します。 -
Resolv
:: DNS :: Resource :: IN :: WKS # address -> Resolv :: IPv4 (45601.0) -
IPv4アドレスを返します。
IPv4アドレスを返します。 -
Resolv
:: DNS :: Resource :: SOA # refresh -> Integer (45301.0) -
プライマリサーバからの更新をセカンダリサーバがチェックする 頻度を秒単位で返します。
プライマリサーバからの更新をセカンダリサーバがチェックする
頻度を秒単位で返します。 -
Gem
:: RemoteSourceException (45001.0) -
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。 -
Resolv
:: DNS :: Resource (45001.0) -
DNSリソースを表す抽象クラスです。
DNSリソースを表す抽象クラスです。 -
Gem
:: ConfigFile # update _ sources=(update _ sources) (37201.0) -
Gem::SourceInfoCache を毎回更新するかどうか設定します。
Gem::SourceInfoCache を毎回更新するかどうか設定します。
@param update_sources 真を指定すると毎回 Gem::SourceInfoCache を更新します。 -
Rake
:: Task # sources=(sources) (37201.0) -
自身が依存するファイルのリストをセットします。
自身が依存するファイルのリストをセットします。
@param sources 自身が依存するファイルのリストを指定します。 -
Gem
. # source _ index -> Gem :: SourceIndex (36904.0) -
Gem.#path にある Gem::Specification のキャッシュを返します。 インストールされている Gem::Specification のインデックスを返します
Gem.#path にある Gem::Specification のキャッシュを返します。
インストールされている Gem::Specification のインデックスを返します
@see Gem::SourceIndex, Gem::Specification -
Gem
:: SourceIndex . from _ gems _ in(*spec _ dirs) -> Gem :: SourceIndex (36901.0) -
引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して 新しいインスタンスを作成します。
引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して
新しいインスタンスを作成します。
@param spec_dirs gemspec ファイルが置かれているディレクトリを一つ以上指定します。 -
Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex (36901.0) -
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。
@see Gem::SourceIndex.from_gems_in -
static enum st
_ retval sweep _ source _ filename(char *key , char *value) (36901.0) -
-
Proc
# source _ location -> [String , Integer] | nil (36694.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ... -
UnboundMethod
# source _ location -> [String , Integer] | nil (36676.0) -
ソースコードのファイル名と行番号を配列で返します。
...nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
//}
@see Proc#source_location, Method#source_location... -
Method
# source _ location -> [String , Integer] | nil (36658.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source... -
RDoc
:: Options # inline _ source -> bool (36652.0) -
コマンドライン引数の --inline-source オプションか --one-file を指定して いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま す。そうでない場合は false を返します。
コマンドライン引数の --inline-source オプションか --one-file を指定して
いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま
す。そうでない場合は false を返します。 -
Socket
:: Constants :: IP _ BLOCK _ SOURCE -> Integer (36652.0) -
Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: IP _ UNBLOCK _ SOURCE -> Integer (36652.0) -
Unblock IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Unblock IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: MCAST _ BLOCK _ SOURCE -> Integer (36652.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ JOIN _ SOURCE _ GROUP -> Integer (36652.0) -
Join a multicast source group
Join a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (36652.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ UNBLOCK _ SOURCE -> Integer (36652.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: IP _ BLOCK _ SOURCE -> Integer (36652.0) -
Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ UNBLOCK _ SOURCE -> Integer (36652.0) -
Unblock IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Unblock IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: MCAST _ BLOCK _ SOURCE -> Integer (36652.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ JOIN _ SOURCE _ GROUP -> Integer (36652.0) -
Join a multicast source group
Join a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (36652.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ UNBLOCK _ SOURCE -> Integer (36652.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (36637.0) -
型が持つソースインターフェイスを取得します。
型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるインターフェイス)を返します。
@return デフォルトのソースインターフェイスをWIN32OLE_TYPEの配列と
して返します。返すのは配列ですが、デフォルトのソースインターフェ
イスは最大でも1インターフェイスです。ソースインターフェイスを持
たない場合は空配列を返します。
tobj = ... -
JSON
:: Parser # source -> String (36622.0) -
現在のソースのコピーを返します。
現在のソースのコピーを返します。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
# => }
__END__
{
"Tanaka": {
... -
Regexp
# source -> String (36622.0) -
その正規表現のもととなった文字列表現を生成して返します。
その正規表現のもととなった文字列表現を生成して返します。
//emlist[例][ruby]{
re = /foo|bar|baz/i
p re.source # => "foo|bar|baz"
//} -
DublinCoreModel
# dc _ source (36607.0) -
@todo
@todo -
DublinCoreModel
# dc _ source= (36607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # source (36607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # source= (36607.0) -
@todo
@todo -
Gem
. default _ user _ source _ cache _ dir -> String (36604.0) -
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。 -
Gem
:: DependencyList . from _ source _ index(src _ index) -> Gem :: DependencyList (36604.0) -
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
@param src_index Gem::SourceIndex を指定します。
@see Gem::SourceIndex -
Rake
:: Task # source -> String (36604.0) -
Rake::Task#sources の最初の要素を返します。
Rake::Task#sources の最初の要素を返します。 -
Socket
:: Constants :: IP _ ADD _ SOURCE _ MEMBERSHIP -> Integer (36604.0) -
Add a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Add a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: IP _ DROP _ SOURCE _ MEMBERSHIP -> Integer (36604.0) -
Drop a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Drop a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ ADD _ SOURCE _ MEMBERSHIP -> Integer (36604.0) -
Add a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Add a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ DROP _ SOURCE _ MEMBERSHIP -> Integer (36604.0) -
Drop a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Drop a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
DublinCoreModel
# dc _ sources (36601.0) -
@todo
@todo -
Gem
. default _ sources -> [String] (36601.0) -
デフォルトのパッケージ情報取得先のリストを返します。
デフォルトのパッケージ情報取得先のリストを返します。 -
Gem
:: ConfigFile # update _ sources -> bool (36601.0) -
真の場合は Gem::SourceInfoCache を毎回更新します。 そうでない場合は、キャッシュがあればキャッシュの情報を使用します。
真の場合は Gem::SourceInfoCache を毎回更新します。
そうでない場合は、キャッシュがあればキャッシュの情報を使用します。 -
Gem
:: ConfigFile :: DEFAULT _ UPDATE _ SOURCES -> true (36601.0) -
毎回 Gem::SourceInfoCache を更新するかどうかのデフォルト値です。
毎回 Gem::SourceInfoCache を更新するかどうかのデフォルト値です。 -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (36601.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (36601.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
ObjectSpace
. # allocation _ sourcefile(object) -> String (36601.0) -
objectの元となったソースファイル名を返します。
objectの元となったソースファイル名を返します。
@param object 元となるソースファイル名を取得したいobjectを指定します。
@return objectの元となるソースファイル名を返します。存在しない場合はnilを返します。
//emlist[例:test.rbというファイルで下記のスクリプトを実行した場合][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "file:#{ObjectSpace::allocation_sourc... -
ObjectSpace
. # allocation _ sourceline(object) -> Integer (36601.0) -
objectの元となったソースファイルの行番号を返します。
objectの元となったソースファイルの行番号を返します。
@param object 元となるソースファイルの行番号を取得したいobjectを指定します。
@return objectの元となるソースファイルの行番号を返します。存在しない場合はnilを返します。
//emlist[例][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "line:#{ObjectSpace::allocation_sourceline(obj)}" # => lin... -
RSS
:: RDF :: Channel :: Image # resource (36601.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Image # resource= (36601.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource (36601.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource= (36601.0) -
@todo
@todo -
RSS
:: TrackBackModel10 :: TrackBackAbout # resource (36601.0) -
@todo
@todo -
RSS
:: TrackBackModel10 :: TrackBackAbout # resource= (36601.0) -
@todo
@todo -
RSS
:: TrackBackModel10 :: TrackBackPing # resource (36601.0) -
@todo
@todo -
RSS
:: TrackBackModel10 :: TrackBackPing # resource= (36601.0) -
@todo
@todo -
Rake
:: Task # sources -> Array (36601.0) -
自身が依存するファイルのリストを返します。
自身が依存するファイルのリストを返します。 -
Resolv
:: DNS :: Resource :: DomainName # name -> Resolv :: DNS :: Name (36601.0) -
ドメイン名を返します。
ドメイン名を返します。 -
Resolv
:: DNS :: Resource :: HINFO . new(cpu , os) -> Resolv :: DNS :: Resource :: HINFO (36601.0) -
Resolv::DNS::Resource::HINFO のインスタンスを生成します。
Resolv::DNS::Resource::HINFO のインスタンスを生成します。
@param cpu CPU 名
@param os OS 名 -
Resolv
:: DNS :: Resource :: IN :: A . new(address) -> Resolv :: DNS :: Resource :: IN :: A (36601.0) -
Resolv::DNS::Resource::IN::A のインスタンスを 生成します。
Resolv::DNS::Resource::IN::A のインスタンスを
生成します。
@param address IPv4アドレス