1814件ヒット
[1-100件を表示]
(0.160秒)
ライブラリ
- ビルトイン (196)
- bigdecimal (11)
-
cgi
/ html (22) - csv (11)
- delegate (11)
- e2mmap (6)
-
irb
/ cmd / load (11) -
irb
/ context (22) - json (11)
- mkmf (198)
-
net
/ imap (44) -
net
/ smtp (44) - openssl (22)
-
rdoc
/ context (22) -
rdoc
/ top _ level (11) - resolv (308)
- rss (253)
-
rubygems
/ config _ file (22) -
rubygems
/ dependency _ installer (11) -
rubygems
/ gem _ path _ searcher (55) -
rubygems
/ indexer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (132) -
rubygems
/ source _ info _ cache (187) -
rubygems
/ source _ info _ cache _ entry (11) -
rubygems
/ spec _ fetcher (11) -
shell
/ filter (6) - socket (22)
- strscan (11)
- uri (11)
- win32ole (33)
- zlib (11)
クラス
- Array (20)
- BigDecimal (11)
- Binding (6)
- CSV (11)
- Class (11)
- Complex (11)
-
Encoding
:: Converter (44) -
Encoding
:: InvalidByteSequenceError (22) -
Enumerator
:: Lazy (11) -
Gem
:: ConfigFile (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: GemPathSearcher (55) -
Gem
:: Indexer (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (132) -
Gem
:: SourceInfoCache (187) -
Gem
:: SourceInfoCacheEntry (11) -
Gem
:: SpecFetcher (11) -
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Source (11) -
JSON
:: State (11) - Method (11)
- Module (5)
-
Net
:: IMAP (44) -
Net
:: SMTP (44) -
OpenSSL
:: BN (11) -
OpenSSL
:: Cipher (11) - Proc (11)
-
RDoc
:: Context (22) -
RDoc
:: Options (44) -
RDoc
:: TopLevel (11) -
RSS
:: ImageItemModel :: ImageItem (22) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (22) -
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 :: TrackBackAbout (22) -
RSS
:: TrackBackModel10 :: TrackBackPing (22) - Range (11)
- Rational (11)
-
Resolv
:: DNS (33) -
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 (22) -
Resolv
:: DNS :: Resource :: SOA (77) -
Resolv
:: DNS :: Resource :: TXT (22) -
Shell
:: Filter (6) -
Socket
:: UDPSource (22) - String (11)
- StringScanner (11)
-
URI
:: Generic (11) - UnboundMethod (11)
-
WIN32OLE
_ TYPE (33) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: HtmlExtension (22) - DublinCoreModel (33)
- Exception2MessageMapper (6)
-
Gem
:: LocalRemoteOptions (22) - Kernel (209)
キーワード
- < (6)
- DelegateClass (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ source _ option (11) -
add
_ update _ sources _ option (11) - address (33)
- bitmap (11)
- bsearch (22)
-
bsearch
_ index (9) -
cache
_ file (11) -
check
_ circular? (11) - coerce (44)
-
collect
_ specs (11) -
const
_ source _ location (5) - content (11)
- content= (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) - each (11)
-
each
_ resource (11) -
egrep
_ cpp (22) - emailbx (11)
- exchange (11)
- execute (11)
- expire (11)
- find (11)
-
find
_ all (11) -
find
_ gems _ with _ sources (11) -
find
_ name (11) - flush (11)
- force (11)
-
force
_ encoding (11) -
force
_ output (11) -
force
_ output= (11) -
force
_ quotes? (11) -
force
_ update (11) -
gem
_ signature (11) - getresource (11)
- getresources (11)
- hierarchical? (11)
- img (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) -
log
_ src (11) -
matching
_ file? (11) -
matching
_ files (11) - minimum (11)
- mname (11)
- name (11)
- os (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)
-
remove
_ spec (11) - reply (11)
-
reset
_ cache _ file (11) -
reset
_ cache _ for (11) - resource (55)
- resource= (55)
- resources (22)
- retry (11)
- rmailbx (11)
- rname (11)
- search (33)
-
search
_ full (11) -
search
_ with _ source (11) -
send
_ mail (11) - sendmail (11)
- serial (11)
- size (11)
- source (11)
- source= (11)
-
source
_ encoding (11) -
source
_ encoding _ name (11) -
source
_ location (39) -
source
_ ole _ types (11) - specification (11)
-
src
_ type (11) - strings (11)
- superclass (11)
-
system
_ cache _ file (11) - target (11)
- thread (11)
-
try
_ compile (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ file (11) -
try
_ link (22) -
try
_ run (22) -
uid
_ search (11) -
uid
_ thread (11) - update (11)
-
update
_ sources (11) -
update
_ sources= (11) - url (22)
- url= (22)
-
user
_ cache _ file (11) - weight (11)
-
write
_ cache (11)
検索結果
先頭5件
-
IRB
:: Context # rc -> bool (18203.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
...~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま... -
Class
# superclass -> Class | nil (15301.0) -
自身のスーパークラスを返します。
...list[例][ruby]{
File.superclass #=> IO
IO.superclass #=> Object
class Foo; end
class Bar < Foo; end
Bar.superclass #=> Foo
Object.superclass #=> BasicObject
//}
ただし BasicObject.superclass は nil を返します。
//emlist[例][ruby]{
BasicObject.superc......lass #=> nil
//}......lass #=> nil
//}
@see Class#subclasses... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (15301.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真......を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。... -
WIN32OLE
_ TYPE # source _ ole _ types -> [WIN32OLE _ TYPE] (15301.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
source_ole_typesメソッドは、selfがCoClass(コンポーネントクラス)の場合、
そのクラスがサポートするすべてのソースインターフェイス(イベントの通知
元となるインターフ......にイベント(WIN32OLE_EVENT)をサポートし
ているコンポーネントクラスの場合は、このメソッドの呼び出しによりイベン
トインターフェイスを調べることが可能です。
@return ソースインターフェイスをWIN32OLE_TYPEの配列として......返します。
ソースインターフェイスを持たない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.source_ole_types.map {|intf| intf.name} #=> ["DocEvents"]... -
Kernel
# log _ src(src) -> () (12301.0) -
与えられた C プログラムのソースコードをログ出力します。
...与えられた C プログラムのソースコードをログ出力します。
@param src C プログラムのソースコードを指定します。... -
Binding
# source _ location -> [String , Integer] (12201.0) -
self の Ruby のソースファイル名と行番号を返します。
...self の Ruby のソースファイル名と行番号を返します。
d:spec/variables#pseudo の __FILE__ と __LINE__ も参照してください。
//emlist[例][ruby]{
p binding.source_location # => ["test.rb", 1]
//}... -
JSON
:: State # check _ circular? -> bool (12201.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
...循環参照のチェックを行う場合は、真を返します。
そうでない場合は偽を返します。
//emlist[例 ネストをチェックするケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[......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 = [[[[[[[[[[[[[[[[[[[[[[[[[......son = JSON.generate(a, s2)
[json, s2.max_nesting, s2.check_circular?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", 0, false]
//}... -
Method
# source _ location -> [String , Integer] | nil (12201.0) -
ソースコードのファイル名と行番号を配列で返します。
...il を返します。
@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_lo......cation # => 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
includ......end
class A # 継続して A を定義する
C2 = 8 # 定数を再定義する
end
p B.const_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_locatio... -
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_locatio......n # => nil
//}
@see Method#source_location...