660件ヒット
[1-100件を表示]
(0.040秒)
ライブラリ
- ビルトイン (114)
- base64 (12)
- csv (12)
-
irb
/ extend-command (12) - logger (12)
-
net
/ pop (108) - objspace (12)
- openssl (24)
- psych (7)
- rbconfig (12)
-
rexml
/ document (24) -
rubygems
/ installer (84) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (12) -
rubygems
/ specification (24) -
rubygems
/ uninstaller (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
syslog
/ logger (12)
クラス
-
Gem
:: Installer (84) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (24) -
Gem
:: Uninstaller (24) -
Logger
:: Formatter (12) - Module (48)
-
Net
:: POPMail (108) -
OpenSSL
:: Netscape :: SPKI (12) -
REXML
:: Document (12) -
REXML
:: Element (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Syslog
:: Logger :: Formatter (12)
モジュール
- Base64 (12)
-
Gem
:: InstallUpdateOptions (12) -
IRB
:: ExtendCommandBundle (12) - Kernel (54)
- ObjectSpace (12)
- Psych (7)
- RbConfig (12)
キーワード
-
$ -I (6) -
$ : (6) -
$ LOAD _ PATH (6) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ASN1 (12)
- CSV (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Symbol (12)
-
allocation
_ sourcefile (12) -
app
_ script _ text (12) -
bin
_ dir (24) - call (24)
- caller (36)
- challenge (12)
-
def
_ extend _ command (12) - download (12)
- echo (18)
- encode64 (12)
-
exec
_ format (12) -
formatted
_ program _ filename (12) -
gem
_ home (24) -
install
_ update _ defaults _ str (12) -
installation
_ path (12) -
installed
_ spec _ directories (12) - mail (36)
- new (24)
- pop (36)
- public (48)
- rdoc (12)
- rss (12)
-
ruby 1
. 8 . 4 feature (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / search _ command (12) -
safe
_ load (7) - shebang (12)
-
windows
_ stub _ script (12)
検索結果
先頭5件
-
Net
:: POPMail # all -> String (18218.0) -
メールを受信します。
...通常 IO オブジェクトを渡します。
この場合引数として渡したオブジェクトを返します。
pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。
使用例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110,... -
Net
:: POPMail # all {|str| . . . . } -> nil (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,... -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (9201.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
...Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers... -
Kernel
. # caller(range) -> [String] | nil (6203.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...情報を $@
の形式のバックトレース(文字列の配列)として返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を......ブジェクトを指定します。
@see Kernel.#set_trace_func,Kernel.#raise,
Kernel.#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>'"]
#......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 (6203.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...情報を $@
の形式のバックトレース(文字列の配列)として返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を......ブジェクトを指定します。
@see Kernel.#set_trace_func,Kernel.#raise,
Kernel.#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>'"]
#......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 (6203.0) -
start 段上の呼び出し元の情報を $@ の形式のバックトレース(文字列の配列)として返します。
...情報を $@
の形式のバックトレース(文字列の配列)として返します。
トップレベルでは空の配列を返します。caller の戻り値を $@ に代入することで
例外の発生位置を設定できます。
引数で指定した値が範囲外の場合は nil を......ブジェクトを指定します。
@see Kernel.#set_trace_func,Kernel.#raise,
Kernel.#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>'"]
#......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... -
Gem
:: SourceIndex . installed _ spec _ directories -> [String] (6201.0) -
gemspec ファイルがインストールされているディレクトリのリストを返します。
gemspec ファイルがインストールされているディレクトリのリストを返します。
@see Gem.#path -
Gem
:: Specification # installation _ path -> String (6201.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。