2043件ヒット
[201-300件を表示]
(0.126秒)
ライブラリ
- ビルトイン (282)
- bigdecimal (11)
-
cgi
/ html (22) - e2mmap (6)
- erb (11)
-
irb
/ cmd / load (11) -
irb
/ context (22) - json (22)
- matrix (11)
- mkmf (121)
-
net
/ imap (66) -
net
/ smtp (44) - openssl (11)
- rake (11)
-
rdoc
/ context (22) -
rdoc
/ top _ level (11) - resolv (242)
- rss (264)
-
rubygems
/ commands / dependency _ command (11) -
rubygems
/ config _ file (22) -
rubygems
/ dependency _ installer (11) -
rubygems
/ gem _ path _ searcher (66) -
rubygems
/ indexer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (231) -
rubygems
/ source _ info _ cache (231) -
rubygems
/ source _ info _ cache _ entry (33) -
rubygems
/ spec _ fetcher (22) -
shell
/ filter (6) - socket (22)
- strscan (11)
- uri (44)
-
webrick
/ httpresponse (11) - win32ole (33)
- zlib (11)
クラス
- Array (40)
- BigDecimal (11)
- Binding (6)
- Class (11)
- Complex (11)
- ERB (11)
-
Encoding
:: Converter (66) -
Encoding
:: InvalidByteSequenceError (22) -
Encoding
:: UndefinedConversionError (22) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: ConfigFile (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: GemPathSearcher (66) -
Gem
:: Indexer (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (231) -
Gem
:: SourceInfoCache (231) -
Gem
:: SourceInfoCacheEntry (33) -
Gem
:: SpecFetcher (22) -
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Source (11) -
JSON
:: Parser (11) -
JSON
:: State (11) - Matrix (11)
- Method (11)
- Module (5)
-
Net
:: IMAP (66) -
Net
:: SMTP (44) - Numeric (11)
-
OpenSSL
:: Cipher (11) - Proc (11)
-
RDoc
:: Context (22) -
RDoc
:: Options (44) -
RDoc
:: TopLevel (11) -
RSS
:: ImageItemModel :: ImageItem (22) -
RSS
:: Maker :: ItemsBase :: ItemBase (11) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (44) -
RSS
:: RDF :: Channel :: Image (22) -
RSS
:: RDF :: Channel :: Items (11) -
RSS
:: RDF :: Channel :: Textinput (22) -
RSS
:: Rss :: Channel :: Item (22) -
RSS
:: Rss :: Channel :: Item :: Source (44) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (11) -
RSS
:: TrackBackModel10 :: TrackBackPing (22) -
Rake
:: Task (11) - Range (22)
- Rational (11)
- Regexp (11)
-
Resolv
:: DNS :: Resource :: DomainName (11) -
Resolv
:: DNS :: Resource :: HINFO (22) -
Resolv
:: DNS :: Resource :: IN :: A (11) -
Resolv
:: DNS :: Resource :: IN :: AAAA (11) -
Resolv
:: DNS :: Resource :: IN :: SRV (44) -
Resolv
:: DNS :: Resource :: IN :: WKS (33) -
Resolv
:: DNS :: Resource :: MINFO (22) -
Resolv
:: DNS :: Resource :: MX (11) -
Resolv
:: DNS :: Resource :: SOA (55) -
Resolv
:: DNS :: Resource :: TXT (22) -
Shell
:: Filter (6) -
Socket
:: UDPSource (22) - String (11)
- StringScanner (11)
-
URI
:: Generic (44) - UnboundMethod (11)
-
WEBrick
:: HTTPResponse (11) -
WIN32OLE
_ TYPE (33) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: HtmlExtension (22) - DublinCoreModel (33)
- Exception2MessageMapper (6)
-
Gem
:: LocalRemoteOptions (22) - Kernel (121)
キーワード
- - (11)
- < (6)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ source _ option (11) -
add
_ spec (11) -
add
_ specs (11) -
add
_ update _ sources _ option (11) - address (33)
- bitmap (11)
- bsearch (44)
-
bsearch
_ index (18) -
cache
_ data (11) -
cache
_ file (11) -
check
_ circular? (11) - coerce (66)
-
collect
_ specs (11) -
const
_ source _ location (5) - content (22)
- content= (22)
- convert (11)
- cpu (11)
- crc (11)
-
create
_ makefile (11) -
create
_ tmpsrc (11) - data (11)
-
dc
_ source (11) -
dc
_ source= (11) -
dc
_ sources (11) -
def
_ exception (6) -
default
_ event _ sources (11) - download (11)
-
dummy
_ makefile (11) - dump (11)
- each (22)
- emailbx (11)
- execute (11)
- expire (11)
-
fetch
_ spec (11) - find (11)
-
find
_ all (11) -
find
_ gems (11) -
find
_ gems _ with _ sources (11) -
find
_ name (11) - flush (11)
-
force
_ encoding (11) -
force
_ output (11) -
force
_ output= (11) -
force
_ update (11) -
gem
_ signature (11) - hierarchical? (11)
- img (11)
-
index
_ signature (11) -
init
_ gemspecs (11) -
inline
_ source (11) -
install
_ files (11) -
install
_ rb (11) -
latest
_ cache _ data (11) -
latest
_ cache _ file (11) -
latest
_ specs (11) -
latest
_ system _ cache _ file (11) -
latest
_ user _ cache _ file (11) - length (11)
-
lib
_ dirs _ for (11) -
load
_ gems _ in (11) -
load
_ specs (11) -
local
_ address (11) -
matching
_ file? (11) -
matching
_ files (11) - minimum (11)
- name (11)
- os (11)
- outdated (11)
-
pkcs5
_ keyivgen (11) - port (11)
- preference (11)
-
primitive
_ convert (44) - priority (11)
- protocol (11)
- rc? (11)
-
rcptto
_ list (11) -
read
_ all _ cache _ data (11) -
read
_ cache _ data (11) - refresh (33)
- refresh! (11)
-
remote
_ address (11) -
remove
_ spec (11) -
reset
_ cache _ data (11) -
reset
_ cache _ file (11) -
reset
_ cache _ for (11) - resource (44)
- resource= (44)
- resources (22)
- retry (11)
- rmailbx (11)
-
route
_ from (11) - search (33)
-
search
_ full (11) -
search
_ with _ source (11) -
send
_ mail (11) - sendmail (11)
- serial (11)
-
set
_ cache _ data (11) - size (33)
- sort (11)
- source (55)
- source= (11)
-
source
_ encoding (33) -
source
_ encoding _ name (22) -
source
_ index (11) -
source
_ location (39) -
source
_ ole _ types (11) -
spec
_ dirs (11) -
spec
_ dirs= (11) - specification (11)
- src (11)
-
src
_ type (11) - status (11)
- strings (11)
- superclass (11)
-
system
_ cache _ file (11) - target (11)
- thread (11)
-
try
_ compile (22) -
try
_ file (11) -
try
_ link (22) -
try
_ run (22) -
uid
_ search (11) -
uid
_ sort (11) -
uid
_ thread (11) - update (22)
-
update
_ sources (11) -
update
_ sources= (11) - url (22)
- url= (22)
-
user
_ cache _ file (11) - weight (11)
-
write
_ cache (11)
検索結果
先頭5件
-
JSON
:: State # check _ circular? -> bool (12201.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
...環参照のチェックを行う場合は、真を返します。
そうでない場合は偽を返します。
//emlist[例 ネストをチェックするケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]......]]]]]]
s = JSON.state.new
begin
JSON.generate(a, s)
rescue JSON::NestingError => e
[e, s.max_nesting, s.check_circular?] # => [#<JSON::NestingError: nesting of 100 is too deep>, 100, true]
end
//}
//emlist[例 ネストをチェックしないケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[......]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
s2 = JSON.state.new(max_nesting: 0)
json = JSON.generate(a, s2)
[json, s2.max_nesting, s2.check_circular?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[... -
Method
# source _ location -> [String , Integer] | nil (12201.0) -
ソースコードのファイル名と行番号を配列で返します。
...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_location # => ["/tmp/foo.rb", 2]
method(:puts).source_......location # => nil
//}... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (12201.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...スコードのファイル名と行番号を配列で返します。
@param name Symbol,String で定数の名前を指定します。
@param inherited true を指定するとスーパークラスや include したモジュールで定義された定数が対象にはなります。false を指......nil を返します。
定数は見つかったがソースファイルが見つからなかった場合は空の配列を返します。
//emlist[例][ruby]{
# test.rb:
class A # line 1
C1 = 1
C2 = 2
end
module M # line 6
C3 = 3
end
class B < A # line 10
inclu......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_l... -
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (12201.0) -
UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。
...UID SEARCH コマンドを送り、条件に合うメッセージの UID
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは文字列で渡......す。
詳しくは 2060 の 6.4.4 を見てください。
例:
p imap.uid_search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.uid_search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.uid_search('SUBJECT "hello"')
#=> [1, 6, 7, 8]
@param key 検索キー(文字......列の配列もしくは文字列)
@param charset 検索に用いるcharset
@see Net::IMAP#uid_search... -
Net
:: SMTP # rcptto _ list(to _ addrs) { . . . } -> object (12201.0) -
RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
...RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
コマンドを送った後、ブロックを呼び出します。
このメソッドの返り値はブロックの返り値になります。
通常は Net::SMTP#send_message, Net::SMTP#open_message_st......ream で
RCPTTO が送られるため利用する必要はないはずです。
@param to_addrs 送信先メールアドレスの配列... -
Proc
# source _ location -> [String , Integer] | nil (12201.0) -
ソースコードのファイル名と行番号を配列で返します。
...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 # => ["(eval)", 1]
method(:p).to_proc.source_location #......=> nil
//}
@see Method#source_location... -
URI
:: Generic # hierarchical? -> bool (12201.0) -
自身に path が設定されているなら true を返します。そうでない場合は false を返します。
自身に path が設定されているなら true を返します。そうでない場合は false を返します。 -
UnboundMethod
# source _ location -> [String , Integer] | nil (12201.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... -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (12101.0) -
短い名前で正確にマッチする Gem を返します。
...短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement... -
Gem
:: SourceIndex # load _ gems _ in(*spec _ dirs) -> self (12101.0) -
引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
...引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
@param spec_dirs gemspec の含まれているディレクトリを複数指定します。...