ライブラリ
- ビルトイン (318)
-
irb
/ cmd / load (11) -
irb
/ extend-command (11) - json (88)
- objspace (22)
- rake (33)
- resolv (407)
-
rexml
/ document (44) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) - rubygems (11)
-
rubygems
/ commands / dependency _ command (11) -
rubygems
/ config _ file (22) -
rubygems
/ defaults (33) -
rubygems
/ dependency _ installer (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ indexer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (275) -
rubygems
/ source _ info _ cache (330) -
rubygems
/ source _ info _ cache _ entry (44) -
rubygems
/ spec _ fetcher (22) - socket (308)
- un (33)
- win32ole (22)
クラス
- Binding (6)
-
Encoding
:: Converter (121) -
Encoding
:: InvalidByteSequenceError (33) -
Encoding
:: UndefinedConversionError (33) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: ConfigFile (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: DependencyList (11) -
Gem
:: Indexer (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (275) -
Gem
:: SourceInfoCache (330) -
Gem
:: SourceInfoCacheEntry (44) -
Gem
:: SpecFetcher (22) -
IRB
:: ExtendCommand :: Source (11) -
JSON
:: Parser (33) - Method (21)
- Module (5)
- Proc (11)
-
RDoc
:: Options (11) -
REXML
:: AttlistDecl (11) -
REXML
:: DocType (11) -
REXML
:: Document (22) -
REXML
:: Parsers :: PullParser (11) -
REXML
:: Parsers :: SAX2Parser (11) -
REXML
:: Parsers :: StreamParser (11) -
Rake
:: Task (22) - Regexp (11)
-
Resolv
:: DNS (33) -
Resolv
:: DNS :: Resource :: DomainName (11) -
Resolv
:: DNS :: Resource :: HINFO (33) -
Resolv
:: DNS :: Resource :: IN :: A (22) -
Resolv
:: DNS :: Resource :: IN :: AAAA (22) -
Resolv
:: DNS :: Resource :: IN :: SRV (55) -
Resolv
:: DNS :: Resource :: IN :: WKS (44) -
Resolv
:: DNS :: Resource :: MINFO (33) -
Resolv
:: DNS :: Resource :: MX (33) -
Resolv
:: DNS :: Resource :: SOA (88) -
Resolv
:: DNS :: Resource :: TXT (33) -
RubyVM
:: InstructionSequence (22) - Socket (132)
-
Socket
:: UDPSource (44) - UnboundMethod (11)
-
WIN32OLE
_ TYPE (22)
モジュール
- Gem (44)
-
Gem
:: LocalRemoteOptions (11) -
IRB
:: ExtendCommandBundle (11) - JSON (44)
-
JSON
:: Generator :: GeneratorMethods :: String (11) - Kernel (44)
- ObjectSpace (22)
- Process (33)
-
Socket
:: Constants (132)
キーワード
-
DEFAULT
_ UPDATE _ SOURCES (11) -
IP
_ ADD _ SOURCE _ MEMBERSHIP (22) -
IP
_ BLOCK _ SOURCE (22) -
IP
_ DROP _ SOURCE _ MEMBERSHIP (22) -
IP
_ MSFILTER (22) -
IP
_ UNBLOCK _ SOURCE (22) -
MCAST
_ BLOCK _ SOURCE (22) -
MCAST
_ EXCLUDE (22) -
MCAST
_ INCLUDE (22) -
MCAST
_ JOIN _ SOURCE _ GROUP (22) -
MCAST
_ LEAVE _ SOURCE _ GROUP (22) -
MCAST
_ MSFILTER (22) -
MCAST
_ UNBLOCK _ SOURCE (22) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - UndefinedConversionError (11)
-
add
_ spec (11) -
add
_ specs (11) -
add
_ update _ sources _ option (11) - address (33)
-
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - bitmap (11)
- cache (11)
-
cache
_ data (22) -
cache
_ file (11) -
collect
_ specs (11) - compile (11)
-
const
_ source _ location (5) - convert (11)
- cp (11)
- cpu (11)
- data (11)
-
default
_ event _ sources (11) -
default
_ sources (11) -
default
_ system _ source _ cache _ dir (11) -
default
_ user _ source _ cache _ dir (11) -
destination
_ encoding (22) - download (11)
- dump (11)
- each (22)
-
each
_ resource (11) - emailbx (11)
- exchange (11)
- execute (11)
- expire (11)
-
fetch
_ spec (11) -
find
_ gems (11) -
find
_ gems _ with _ sources (11) -
find
_ name (11) - flush (11)
-
from
_ gems _ in (11) -
from
_ installed _ gems (11) -
from
_ source _ index (11) -
gem
_ signature (11) - getresource (11)
- getresources (11)
- getrlimit (11)
-
index
_ signature (11) -
inline
_ source (11) - inspect (5)
- install (11)
-
install
_ extend _ commands (11) -
installed
_ spec _ directories (11) - irb (11)
-
latest
_ cache _ data (11) -
latest
_ cache _ file (11) -
latest
_ specs (11) -
latest
_ system _ cache _ file (22) -
latest
_ user _ cache _ file (22) - length (11)
- load (11)
-
load
_ gems _ in (11) -
load
_ specification (11) -
load
_ specs (11) -
local
_ address (11) - minimum (11)
- mname (11)
- mv (11)
- name (11)
- new (253)
- os (11)
- outdated (11)
- parse (22)
- parse! (11)
-
parse
_ stream (11) - port (11)
- preference (11)
-
primitive
_ convert (44) -
primitive
_ errinfo (11) - priority (11)
- protocol (11)
- rdoc (11)
-
read
_ all _ cache _ data (11) -
read
_ cache _ data (11) - refresh (33)
- refresh! (11)
-
remote
_ address (11) -
remove
_ spec (11) - reply (11)
- reset (11)
-
reset
_ cache _ data (11) -
reset
_ cache _ file (11) -
reset
_ cache _ for (11) - restore (11)
- retry (11)
- rmailbx (11)
- rname (11)
- rss (11)
-
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) - rule (11)
- search (33)
-
search
_ convpath (11) -
search
_ with _ source (22) - serial (11)
-
set
_ cache _ data (11) - setrlimit (22)
- size (33)
-
source
_ encoding (33) -
source
_ encoding _ name (22) -
source
_ index (22) -
source
_ location (39) -
source
_ ole _ types (11) - sources (11)
-
spec
_ dirs (11) - specification (11)
- strings (11)
-
system
_ cache _ file (22) - target (11)
-
to
_ json _ raw _ object (11) -
to
_ s (5) -
try
_ file (11) - un (11)
- update (22)
-
update
_ sources (11) -
user
_ cache _ file (22) - weight (11)
-
write
_ cache (11) - 多言語化 (11)
検索結果
先頭5件
-
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (6300.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
...S::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:......esolv::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] (6300.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
...S::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:......esolv::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 以... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (6267.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
..._source_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_source_......'C2') # => ["test.rb", 16] -- 最後に定義された位置を返す
p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定義された場......st_source_location('A') # => ["test.rb", 1] -- Object を継承している為
p M.const_source_location('A') # => ["test.rb", 1] -- Object は継承していないが追加で modules をチェックする
p Object.const_source_location('A::C1') # => ["test.rb", 2] --... -
RDoc
:: Options # inline _ source -> bool (6249.0) -
コマンドライン引数の --inline-source オプションか --one-file を指定して いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま す。そうでない場合は false を返します。
...コマンドライン引数の --inline-source オプションか --one-file を指定して
いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま
す。そうでない場合は false を返します。... -
Proc
# source _ location -> [String , Integer] | nil (6231.0) -
ソースコードのファイル名と行番号を配列で返します。
...by]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}
@see Method#source_location... -
Encoding
:: Converter # source _ encoding -> Encoding (6225.0) -
変換元のエンコーディングを返します。
...変換元のエンコーディングを返します。
@return 変換元のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.source_encoding #=> #<Encoding:UTF-8>
//}... -
UnboundMethod
# source _ location -> [String , Integer] | nil (6225.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 (6219.0) -
ソースコードのファイル名と行番号を配列で返します。
...す。
@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_location # => ["/tmp/foo.rb", 2]
method(:puts).source_location # => nil... -
Socket
:: Constants :: IP _ BLOCK _ SOURCE -> Integer (6217.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 (6217.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)...