842件ヒット
[1-100件を表示]
(0.030秒)
ライブラリ
- ビルトイン (188)
- bigdecimal (22)
- coverage (7)
-
drb
/ acl (11) - fiddle (22)
-
irb
/ extend-command (11) - matrix (66)
-
minitest
/ unit (1) - mkmf (22)
-
net
/ http (11) -
net
/ pop (121) - objspace (55)
- openssl (88)
- psych (17)
- rake (22)
-
rake
/ packagetask (11) -
rexml
/ document (44) -
rubygems
/ dependency _ installer (22) -
rubygems
/ installer (11)
クラス
- ACL (11)
- BigDecimal (22)
- Coverage (7)
-
Fiddle
:: Function (11) -
Fiddle
:: Pointer (11) -
Gem
:: DependencyInstaller (22) -
Gem
:: Installer (11) - Hash (62)
- Matrix (66)
- Module (16)
-
Net
:: HTTP (11) -
Net
:: POP3 (22) -
Net
:: POPMail (99) -
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: X509 :: Store (22) -
REXML
:: Document (11) -
REXML
:: Element (33) -
Rake
:: Application (11) -
Rake
:: PackageTask (11) - SystemCallError (11)
- TracePoint (11)
モジュール
-
IRB
:: ExtendCommandBundle (11) - Kernel (110)
-
MiniTest
:: Assertions (1) - ObjectSpace (55)
-
OpenSSL
:: ASN1 (11) - Psych (17)
- Rake (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - ASN1 (11)
-
DEFAULT
_ OPTIONS (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - [] (11)
-
_ _ callee _ _ (11) -
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - application= (11)
- call (11)
-
callee
_ id (11) - caller (33)
-
caller
_ locations (22) - context (11)
- context= (11)
- coverage (7)
-
def
_ extend _ command (11) - delete (22)
-
delete
_ all (22) - errno (11)
- fail (11)
-
find
_ index (33) - index (40)
-
install
_ files (11) -
install
_ rb (11) - key (11)
- load (11)
- mail (33)
- malloc (11)
-
memsize
_ of _ all (11) - mode (22)
- new (66)
- pop (33)
- public (16)
- raise (11)
- rss (11)
-
ruby 1
. 8 . 4 feature (11) -
safe
_ load (6) - shift (11)
- skip (1)
- start (7)
-
tmp
_ dh _ callback (11) -
tmp
_ dh _ callback= (11) -
trace
_ object _ allocations _ start (11) -
trace
_ object _ allocations _ stop (11) - traverse (11)
-
verify
_ callback (33) -
verify
_ callback= (22) - xmlrpc (3)
- メソッド呼び出し(super・ブロック付き・yield) (11)
検索結果
先頭5件
-
Net
:: POPMail # all {|str| . . . . } -> nil (18218.0) -
メールを受信します。
...通常 IO オブジェクトを渡します。
この場合引数として渡したオブジェクトを返します。
pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。
使用例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110,... -
Net
:: POPMail # all -> String (18118.0) -
メールを受信します。
...通常 IO オブジェクトを渡します。
この場合引数として渡したオブジェクトを返します。
pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。
使用例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110,... -
Net
:: POPMail # all(io) -> object (18118.0) -
メールを受信します。
...通常 IO オブジェクトを渡します。
この場合引数として渡したオブジェクトを返します。
pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。
使用例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110,... -
Kernel
. # caller _ locations(start = 1 , length = nil) -> [Thread :: Backtrace :: Location] | nil (6325.0) -
現在のフレームを Thread::Backtrace::Location の配列で返します。引 数で指定した値が範囲外の場合は nil を返します。
...現在のフレームを Thread::Backtrace::Location の配列で返します。引
数で指定した値が範囲外の場合は nil を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレームの個数を指定します。
@pa......rt, length)
locations = caller_locations(start, length)
p locations
p locations.map(&:lineno)
p locations.map(&:path)
end
def test2(start, length)
test1(start, length)
end
def test3(start, length)
test2(start, length)
end
caller_locations # => []
test3(1, nil)
# => ["/Users/user/test.......(1, 2)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `test3'"]
# => [9, 13]
# => ["/Users/user/test.rb", "/Users/user/test.rb"]
test3(2, 1)
# => ["/Users/user/test.rb:13:in `test3'"]
# => [13]
# => ["/Users/user/test.rb"]
//}
@see Thread::Backtrace::Location, Kernel.#caller... -
Kernel
# install _ files(mfile , ifiles , map = nil , srcprefix = nil) -> [] (6302.0) -
このメソッドは create_makefile, install_rb が使用します。 内部用のメソッドです。
...このメソッドは create_makefile, install_rb が使用します。
内部用のメソッドです。
@param mfile Makefile を表す File のインスタンスです。
@param ifiles インストールするファイルのリストを指定します。
@param map ???
@param srcprefix ソ... -
Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) -> () (6228.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...t::POPMail のインスタンスとして渡されます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param......ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#delete_all... -
Net
:: POP3 . delete _ all(address , port = nil , account , password , isapop=false) {|mail| . . . . } -> () (6228.0) -
POP セッションを開始し、サーバ上のメールを全て消去します。
...t::POPMail のインスタンスとして渡されます。
port に nil を渡すと、適当なポート(通常は110、SSL利用時には 995)を
使います。
使用例:
require 'net/pop'
Net::POP3.delete_all(addr, nil, 'YourAccount', 'YourPassword') do |m|
puts m.pop
end
@param......ていない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3.start, Net::POP3#delete_all... -
Kernel
. # caller(range) -> [String] | nil (6227.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...て返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を返します。
@param start long の範囲を超えない正の整数......ernel.#caller_locations
//emlist[例][ruby]{
def foo
p caller(0)
p caller(1)
p caller(2)
p caller(3)
p caller(4)
end
def bar
foo
end
bar
#=> ["-:2:in `foo'", "-:10:in `bar'", "-:13:in `<main>'"]
# ["-:10:in `bar'", "-:13:in `<main>'"]
# ["-:13:in `<main>'"]
# []
# nil
//}......aller の要素から [ファイル名, 行番号, メソッド名]
を取り出して返します。
//emlist[例][ruby]{
def parse_caller(at)
if /^(.+?):(\d+)(?::in `(.*)')?/ =~ at
file = $1
line = $2.to_i
method = $3
[file, line, method]
end
end
def foo
p parse_caller(call... -
Kernel
. # caller(start = 1) -> [String] | nil (6227.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...て返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を返します。
@param start long の範囲を超えない正の整数......ernel.#caller_locations
//emlist[例][ruby]{
def foo
p caller(0)
p caller(1)
p caller(2)
p caller(3)
p caller(4)
end
def bar
foo
end
bar
#=> ["-:2:in `foo'", "-:10:in `bar'", "-:13:in `<main>'"]
# ["-:10:in `bar'", "-:13:in `<main>'"]
# ["-:13:in `<main>'"]
# []
# nil
//}......aller の要素から [ファイル名, 行番号, メソッド名]
を取り出して返します。
//emlist[例][ruby]{
def parse_caller(at)
if /^(.+?):(\d+)(?::in `(.*)')?/ =~ at
file = $1
line = $2.to_i
method = $3
[file, line, method]
end
end
def foo
p parse_caller(call... -
Kernel
. # caller(start , length) -> [String] | nil (6227.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...て返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を返します。
@param start long の範囲を超えない正の整数......ernel.#caller_locations
//emlist[例][ruby]{
def foo
p caller(0)
p caller(1)
p caller(2)
p caller(3)
p caller(4)
end
def bar
foo
end
bar
#=> ["-:2:in `foo'", "-:10:in `bar'", "-:13:in `<main>'"]
# ["-:10:in `bar'", "-:13:in `<main>'"]
# ["-:13:in `<main>'"]
# []
# nil
//}......aller の要素から [ファイル名, 行番号, メソッド名]
を取り出して返します。
//emlist[例][ruby]{
def parse_caller(at)
if /^(.+?):(\d+)(?::in `(.*)')?/ =~ at
file = $1
line = $2.to_i
method = $3
[file, line, method]
end
end
def foo
p parse_caller(call...