379件ヒット
[101-200件を表示]
(0.166秒)
ライブラリ
- ビルトイン (91)
- json (24)
- rake (12)
- resolv (120)
-
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (36) -
rubygems
/ source _ info _ cache (84)
クラス
- Binding (7)
-
Encoding
:: Converter (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (36) -
Gem
:: SourceInfoCache (84) -
JSON
:: Parser (12) - Method (24)
- Module (12)
- Proc (12)
-
Rake
:: Task (12) - Regexp (12)
-
Resolv
:: DNS (36) -
Resolv
:: DNS :: Resource :: HINFO (24) -
Resolv
:: DNS :: Resource :: IN :: WKS (12) -
Resolv
:: DNS :: Resource :: MINFO (24) -
Resolv
:: DNS :: Resource :: TXT (24) - UnboundMethod (12)
モジュール
キーワード
- bitmap (12)
-
cache
_ file (12) -
const
_ source _ location (12) - convert (12)
- cpu (12)
- data (12)
- download (12)
-
each
_ resource (12) - emailbx (12)
-
gem
_ signature (12) - getresource (12)
- getresources (12)
-
index
_ signature (12) - inspect (6)
-
latest
_ cache _ file (12) -
latest
_ system _ cache _ file (12) -
latest
_ user _ cache _ file (12) - os (12)
- rmailbx (12)
-
source
_ location (43) -
spec
_ dirs (12) - strings (12)
-
system
_ cache _ file (12) -
to
_ json _ raw _ object (12) -
to
_ s (6) -
try
_ file (12) -
user
_ cache _ file (12)
検索結果
先頭5件
-
UnboundMethod
# source _ location -> [String , Integer] | nil (12327.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 (12321.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
//... -
Binding
# source _ location -> [String , Integer] (12309.0) -
self の Ruby のソースファイル名と行番号を返します。
...self の Ruby のソースファイル名と行番号を返します。
d:spec/variables#pseudo の __FILE__ と __LINE__ も参照してください。
//emlist[例][ruby]{
p binding.source_location # => ["test.rb", 1]
//}... -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (12307.0) -
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::Resource::IN::MX......* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN::A
* Resolv::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 以外を指定した場合には
そのクラスのインスタンスを返します。
@param name ルックアップ対象となる名前を Resolv::DNS::Name または String で指定します。
@param typeclass レコード... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (12307.0) -
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::Resource::IN::MX......* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN::A
* Resolv::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 以外を指定した場合には
そのクラスのインスタンスを返します。
@param name ルックアップ対象となる名前を Resolv::DNS::Name または String で指定します。
@param typeclass レコード... -
Gem
:: SourceInfoCache # try _ file(path) -> String | nil (9302.0) -
与えられたパスがキャッシュファイルとして利用可能な場合、そのパスを返します。 そうでない場合は nil を返します。
...与えられたパスがキャッシュファイルとして利用可能な場合、そのパスを返します。
そうでない場合は nil を返します。
@param path キャッシュファイルの候補となるパスを指定します。... -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (9202.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: SourceIndex # index _ signature -> String (9202.0) -
ソースインデックスの SHA256 ダイジェストを返します。
ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。 -
Gem
:: SourceInfoCache # latest _ cache _ file -> String (9202.0) -
使用可能な最新のキャッシュファイル名を返します。
...のキャッシュファイル名を返します。
システムキャッシュが使用可能な場合はシステムキャッシュのファイル名を返します。
そうでない場合はユーザーキャッシュのファイル名を返します。
@see Gem::SourceInfoCache#cache_file... -
Gem
:: SourceInfoCache # latest _ user _ cache _ file -> String (9202.0) -
最新のユーザーキャッシュのファイル名を返します。
最新のユーザーキャッシュのファイル名を返します。