種類
ライブラリ
- English (275)
- ビルトイン (3500)
- benchmark (11)
- bigdecimal (34)
- continuation (44)
- csv (11)
- delegate (11)
- digest (11)
-
drb
/ extservm (11) - e2mmap (18)
-
irb
/ cmd / load (22) -
irb
/ xmp (22) - json (33)
-
minitest
/ spec (2) -
minitest
/ unit (2) - mkmf (1001)
- open-uri (74)
- open3 (22)
- openssl (22)
- pathname (22)
- pp (15)
- profiler (6)
- psych (22)
- pty (44)
- rake (143)
- rubygems (11)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ custom _ require (11) -
rubygems
/ timer (11) - scanf (30)
- shell (12)
-
shell
/ command-processor (18) -
shell
/ filter (12) - socket (88)
- stringio (99)
- syslog (99)
- tempfile (50)
-
test
/ unit (1) - timeout (41)
- tracer (33)
- un (143)
- uri (11)
-
webrick
/ utils (11) - win32ole (11)
- zlib (44)
クラス
-
ARGF
. class (176) - Array (66)
- BasicObject (22)
-
Benchmark
:: Tms (11) - BigDecimal (12)
- Binding (11)
- CSV (11)
- Complex (22)
- Continuation (22)
-
DRb
:: ExtServManager (11) - Enumerator (11)
- Exception (22)
- File (33)
- IO (429)
-
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) - LoadError (11)
- Method (11)
- Module (165)
- Object (188)
-
OpenSSL
:: BN (11) - Proc (18)
- Random (95)
- Rational (11)
- Shell (12)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - Socket (44)
- String (78)
- StringIO (99)
- SystemExit (11)
- Tempfile (50)
- Thread (88)
-
Thread
:: Backtrace :: Location (11) - TracePoint (11)
- Tracer (33)
- UnboundMethod (21)
- UncaughtThrowError (20)
-
WIN32OLE
_ EVENT (11) - XMP (11)
-
Zlib
:: GzipWriter (44)
モジュール
- Exception2MessageMapper (18)
- FileTest (11)
- FileUtils (22)
- Kernel (3474)
-
MiniTest
:: Assertions (2) - Open3 (22)
-
OpenSSL
:: Buffering (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) - PTY (44)
- Process (88)
-
Socket
:: Constants (44) - Syslog (99)
-
Test
:: Unit (1) - Timeout (19)
- URI (14)
-
WEBrick
:: Utils (11) - Warning (16)
キーワード
-
$ ! (11) -
$ " (11) -
$ $ (11) -
$ & (11) -
$ & # 39; (11) -
$ * (11) -
$ + (11) -
$ , (11) -
$ -0 (11) -
$ -F (11) -
$ -I (11) -
$ -K (11) -
$ -W (11) -
$ -a (11) -
$ -d (11) -
$ -i (11) -
$ -l (11) -
$ -p (11) -
$ -v (11) -
$ -w (11) -
$ . (11) -
$ / (11) -
$ 0 (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ : (11) -
$ ; (11) -
$ < (11) -
$ = (11) -
$ > (11) -
$ ? (11) -
$ @ (11) -
$ ARGV (11) -
$ CFLAGS (11) -
$ CHILD _ STATUS (11) -
$ DEBUG (11) -
$ DEFAULT _ INPUT (11) -
$ DEFAULT _ OUTPUT (11) -
$ ERROR _ INFO (11) -
$ ERROR _ POSITION (11) -
$ FIELD _ SEPARATOR (11) -
$ FILENAME (11) -
$ FS (11) -
$ IGNORECASE (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ KCODE (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ LDFLAGS (11) -
$ LOADED _ FEATURES (11) -
$ LOAD _ PATH (11) -
$ MATCH (11) -
$ NR (11) -
$ OFS (11) -
$ ORS (11) -
$ OUTPUT _ FIELD _ SEPARATOR (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ PID (11) -
$ POSTMATCH (11) -
$ PREMATCH (11) -
$ PROCESS _ ID (11) -
$ PROGRAM _ NAME (11) -
$ RS (11) -
$ SAFE (11) -
$ VERBOSE (11) -
$ \ (11) -
$ _ (11) -
$ ` (11) -
$ archdir (11) -
$ defs (11) -
$ hdrdir (11) -
$ libdir (11) -
$ libs (11) -
$ sitearchdir (11) -
$ sitelibdir (11) -
$ srcdir (11) -
$ stderr (11) -
$ stdin (11) -
$ stdout (11) -
$ topdir (11) -
$ ~ (11) - % (11)
-
AI
_ V4MAPPED _ CFG (22) - ARGF (22)
- Array (11)
- BasicObject (11)
- BigDecimal (22)
- Binding (11)
- CONFIG (11)
- Complex (33)
- Continuation (11)
- Converters (11)
- DATA (11)
- DEFAULT (7)
- DefaultLoader (11)
- DelegateClass (11)
- Digest (11)
- File (11)
- Float (11)
- Hash (11)
- Integer (11)
- JSON (11)
- LoadError (11)
- Location (11)
- LockCommand (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Pathname (22)
- Proc (11)
-
Profiler
_ _ (6) - Rational (22)
- Rubyの起動 (11)
- Ruby用語集 (11)
- RuntimeError (11)
-
SCRIPT
_ LINES _ _ (11) -
SO
_ ATTACH _ FILTER (22) -
SO
_ DETACH _ FILTER (22) -
SO
_ NKE (22) - Scanf (6)
- String (11)
- Task (11)
- ThreadError (11)
- TracePoint (11)
- URI (11)
- UncaughtThrowError (10)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (29)
-
_ _ callee _ _ (11) -
_ _ dir _ _ (11) -
_ _ method _ _ (11) - ` (11)
- abort (44)
-
add
_ filter (22) -
add
_ trace _ func (11) - alert (11)
-
alias
_ method (11) - ancestors (11)
-
arg
_ config (11) -
assert
_ throws (1) -
at
_ exit (11) - autoload (22)
- autoload? (22)
-
backtrace
_ locations (22) - bigdecimal (11)
-
bind
_ call (10) - binding (11)
- binread (11)
- binwrite (11)
-
block
_ given? (11) - call (11)
- callcc (11)
- caller (33)
-
caller
_ locations (22) - catch (22)
-
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) - chmod (11)
- chomp (11)
- chop (11)
- class (11)
-
class
_ eval (22) -
class
_ variables (11) - command (11)
-
const
_ defined? (11) - constants (22)
- convert (11)
-
convertible
_ int (22) - cp (11)
-
cpp
_ command (11) - create (20)
-
create
_ header (11) -
create
_ makefile (11) -
create
_ tmpsrc (11) - crit (11)
- debug (11)
-
def
_ exception (6) -
defined
_ class (11) - delegate (11)
-
depend
_ rules (11) - desc (11)
- describe (1)
-
dir
_ config (11) - directory (11)
-
drb
/ extservm (11) -
dummy
_ makefile (11) -
egrep
_ cpp (22) - emerg (11)
-
enable
_ config (22) - err (11)
- eval (33)
- exception (22)
- exec (44)
- execute (22)
- exit (33)
- exit! (22)
- fail (33)
- file (11)
-
file
_ create (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
for
_ fd (11) - foreach (22)
- fork (44)
- format (22)
- freeze (11)
- gem (11)
- getpty (22)
- gets (44)
-
global
_ variables (11) - gsub (33)
-
have
_ devel? (11) -
have
_ framework (22) -
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) - help (11)
- hex (11)
- httpd (11)
- identical? (11)
- import (11)
- include (11)
- info (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
install
_ rb (11) -
instance
_ eval (22) -
instance
_ variables (11) - irb (11)
-
irb
/ xmp (11) - iterator? (11)
- j (11)
- jj (11)
- kill (22)
- lambda (17)
- libpathflag (11)
-
link
_ command (11) - ln (11)
- load (11)
-
local
_ variables (11) - log (11)
-
log
_ src (11) - loop (22)
- mathn (4)
-
merge
_ libs (11) - method (11)
-
minitest
/ autorun (11) -
minitest
/ unit (1) - mkdir (11)
- mkmf (22)
- modified? (11)
-
module
_ eval (22) - multitask (11)
-
must
_ throw (1) - mv (11)
- namespace (11)
- new (84)
- next (11)
- notice (11)
- oct (11)
- open (160)
- open-uri (6)
-
open
_ uri (22) - owner (22)
- p (11)
- path (11)
- popen (154)
- popen3 (22)
- pp (22)
-
pretty
_ print (22) - print (66)
- printf (77)
- proc (18)
-
psych
_ y (11) -
public
_ instance _ method (11) - putc (44)
- puts (55)
- raise (44)
- rand (88)
-
rb
_ String (11) -
rb
_ exec _ end _ proc (11) -
rb
_ f _ array (11) -
rb
_ f _ float (11) -
rb
_ f _ hash (11) -
rb
_ f _ integer (11) -
rb
_ f _ string (11) -
rb
_ load (11) - read (33)
- readline (44)
- readlines (77)
- rect (11)
- rectangular (11)
-
remove
_ const (11) - reopen (55)
- require (22)
-
require
_ relative (11) - rm (11)
-
rm
_ f (11) -
rm
_ rf (11) - rmdir (11)
- ruby (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ custom _ require (11) - rule (11)
-
run
_ config (6) - sample (44)
- scanf (24)
- select (22)
- send (22)
-
set
_ close _ on _ exec (11) -
set
_ trace _ func (33) -
setup
_ argv (1) - sh (11)
- shuffle! (22)
-
singleton
_ method (11) - skip (1)
- sleep (22)
- spawn (77)
- sprintf (11)
- sprintf フォーマット (11)
- srand (44)
- status (11)
- sub (22)
- syscall (11)
- sysopen (11)
- system (44)
- tag (10)
- task (11)
- terminate (11)
- test (40)
- throw (11)
- time (11)
- timeout (41)
-
to
_ a (44) -
to
_ ary (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ r (11) -
to
_ s (22) -
to
_ str (11) - touch (11)
-
trace
_ var (33) - tracer (11)
- trap (22)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ func (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) - ubygems (4)
-
untrace
_ var (11) - value (10)
- verbose= (11)
-
wait
_ writable (11) - warn (27)
- warning (11)
-
webrick
/ https (11) -
webrick
/ httpservlet (11) -
with
_ config (22) -
with
_ werror (22) - write (22)
- xmp (11)
- xpopen (22)
- xsystem (11)
- y (11)
- このマニュアルのヘルプ (11)
- クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 環境変数 (11)
- 終了処理 (11)
検索結果
先頭5件
-
Kernel
# xsystem(command , opts = nil) -> () (21022.0) -
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
...
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。......:werror というキーに真を指定すると
@see Kernel.#system... -
Kernel
$ $ " -> [String] (21022.0) -
Kernel.#require でロードされたファイル名を含む配列です。
...
Kernel.#require でロードされたファイル名を含む配列です。
Kernel.#require で同じファイルを
複数回ロードしないようにするためのロックとして使われます。
この変数はグローバルスコープです。... -
Kernel
$ $ @ -> [String] | nil (21022.0) -
最後に例外が発生した時のバックトレースを表す配列です。 Kernel.#raise によって設定されます。
...トレースを表す配列です。
Kernel.#raise によって設定されます。
配列の各要素はメソッドの呼び出し位置を示す文字列で形式は
"filename:line"
または
"filename:line:in `methodname'"
です。これは Kernel.#caller が返す値と同じ形式... -
Kernel
$ $ LOADED _ FEATURES -> [String] (21022.0) -
Kernel.#require でロードされたファイル名を含む配列です。
...
Kernel.#require でロードされたファイル名を含む配列です。
Kernel.#require で同じファイルを
複数回ロードしないようにするためのロックとして使われます。
この変数はグローバルスコープです。... -
Kernel
. # autoload?(const _ name) -> String | nil (21022.0) -
const_name が Kernel.#autoload 設定されているか調べます。
...const_name が Kernel.#autoload 設定されているか調べます。
autoload 設定されていて、autoload 定数がまだ定義されてない(ロードされていない)
ときにそのパス名を返します。
autoload 設定されていないか、ロード済みなら nil を返し......lass Foo
class Bar
end
end
# ----- end of /tmp/foo.rb ----
class Foo
end
p Foo.autoload?(:Bar) #=> nil
Foo.autoload :Bar, '/tmp/foo'
p Foo.autoload?(:Bar) #=> "/tmp/foo"
p Foo::Bar #=> Foo::Bar
p Foo.autoload?(:Bar) #=> nil
//}
@see Kernel.#autoload... -
Kernel
. # binding -> Binding (21022.0) -
変数・メソッドなどの環境情報を含んだ Binding オブジェクトを 生成して返します。通常、Kernel.#eval の第二引数として使います。
...変数・メソッドなどの環境情報を含んだ Binding オブジェクトを
生成して返します。通常、Kernel.#eval の第二引数として使います。
//emlist[例][ruby]{
def foo
a = 1
binding
end
eval("p a", foo) #=> 1
//}
@see Kernel.#eval,Object::TOPLEVEL_BINDING... -
Kernel
. # system(command , options={}) -> bool | nil (21022.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)......# => Errno::ENOENT (No such file or directory - sad)
system('ruby -e "exit(false)"', exception: true) # => RuntimeError (Command failed with exit 1: ruby -e "exit(false)")
system('ruby -e "exit(true)"', exception: true) # => true
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # system(env , command , options={}) -> bool | nil (21022.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)......# => Errno::ENOENT (No such file or directory - sad)
system('ruby -e "exit(false)"', exception: true) # => RuntimeError (Command failed with exit 1: ruby -e "exit(false)")
system('ruby -e "exit(true)"', exception: true) # => true
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # throw(tag , value = nil) -> () (21022.0) -
Kernel.#catchとの組み合わせで大域脱出を行います。 throw は同じ tag を指定した catch のブロックの終わりまでジャンプします。
...
Kernel.#catchとの組み合わせで大域脱出を行います。 throw
は同じ tag を指定した catch のブロックの終わりまでジャンプします。
throw は探索時に呼び出しスタックをさかのぼるので、
ジャンプ先は同じメソッド内にあるとは限......いる catch が存在しない場合に発生します。
//emlist[例][ruby]{
def foo
throw :exit, 25
end
ret = catch(:exit) do
begin
foo
some_process() # 絶対に実行されない
10
ensure
puts "ensure"
end
end
puts ret
#=> ensure
# 25
//}
@see Kernel.#catch... -
Kernel
. # spawn(env , program , *args , options={}) -> Integer (21020.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...din), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
false がデフォルトです。
: :exception
Kernel.#system のみで指定できます。
これを true に設定すると、nil や false を返す代わりに例外が発生します。
fa......列を指定します。
@param options オプションパラメータ Hash
@raise ArgumentError 第一引数が配列かつ要素数が 2 でない場合に発生します。
@raise Errno::EXXX コマンドが実行できなかった場合に発生します。
@see Kernel.#system,Kernel.#exec... -
Kernel
. # spawn(program , *args) -> Integer (21020.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...din), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
false がデフォルトです。
: :exception
Kernel.#system のみで指定できます。
これを true に設定すると、nil や false を返す代わりに例外が発生します。
fa......列を指定します。
@param options オプションパラメータ Hash
@raise ArgumentError 第一引数が配列かつ要素数が 2 でない場合に発生します。
@raise Errno::EXXX コマンドが実行できなかった場合に発生します。
@see Kernel.#system,Kernel.#exec...