4424件ヒット
[401-500件を表示]
(0.066秒)
別のキーワード
種類
ライブラリ
- English (253)
- ビルトイン (2470)
- bigdecimal (14)
- continuation (11)
- delegate (11)
- digest (11)
- e2mmap (18)
-
irb
/ cmd / load (11) -
irb
/ xmp (22) - json (22)
-
minitest
/ unit (1) - mkmf (572)
- open-uri (74)
- open3 (22)
- openssl (22)
- pathname (22)
- pp (15)
- profiler (6)
- psych (22)
- pty (44)
- rake (33)
-
rubygems
/ custom _ require (11) - scanf (12)
- shell (12)
-
shell
/ command-processor (18) -
shell
/ filter (12) - socket (66)
- stringio (99)
- syslog (11)
- tempfile (50)
-
test
/ unit (1) - timeout (27)
- tracer (11)
- un (66)
- win32ole (11)
- zlib (44)
クラス
-
ARGF
. class (68) - Array (44)
- BasicObject (22)
- BigDecimal (2)
- Binding (11)
- Complex (22)
- Exception (22)
- File (33)
- IO (429)
-
IRB
:: ExtendCommand :: Load (11) - LoadError (11)
- Module (132)
- Object (154)
-
OpenSSL
:: BN (11) - Proc (18)
- Shell (12)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - Socket (33)
- String (67)
- StringIO (99)
- SystemExit (11)
- Tempfile (50)
- Thread (66)
- TracePoint (11)
- Tracer (11)
- UncaughtThrowError (20)
-
WIN32OLE
_ EVENT (11) - XMP (11)
-
Zlib
:: GzipWriter (44)
モジュール
- Exception2MessageMapper (18)
- FileTest (11)
- Kernel (2272)
-
MiniTest
:: Assertions (1) - Open3 (22)
-
OpenSSL
:: Buffering (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) - PTY (44)
- Process (88)
-
Socket
:: Constants (33) - Syslog (11)
-
Test
:: Unit (1) - Timeout (19)
- URI (14)
キーワード
-
$ ! (11) -
$ & # 39; (11) -
$ -F (11) -
$ -I (5) -
$ -p (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ : (5) -
$ ; (11) -
$ > (11) -
$ ARGV (11) -
$ CHILD _ STATUS (11) -
$ DEFAULT _ INPUT (11) -
$ DEFAULT _ OUTPUT (11) -
$ ERROR _ INFO (11) -
$ ERROR _ POSITION (11) -
$ FIELD _ SEPARATOR (11) -
$ FS (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ LOAD _ PATH (11) -
$ MATCH (11) -
$ NR (11) -
$ OFS (11) -
$ OUTPUT _ FIELD _ SEPARATOR (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ PID (11) -
$ POSTMATCH (11) -
$ PREMATCH (11) -
$ PROCESS _ ID (11) -
$ RS (11) -
$ ` (11) -
$ stdin (11) -
$ stdout (11) -
$ topdir (11) -
$ ~ (11) - % (11)
-
AI
_ V4MAPPED _ CFG (22) - ARGF (11)
- Array (11)
- BigDecimal (12)
- Complex (33)
- Continuation (11)
- DATA (11)
- DelegateClass (11)
- Digest (11)
- Float (11)
- Integer (11)
- JSON (11)
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
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 (6)
- Rubyの起動 (11)
-
SCRIPT
_ LINES _ _ (11) -
SO
_ ATTACH _ FILTER (22) -
SO
_ DETACH _ FILTER (22) - String (11)
- TracePoint (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (18)
-
_ _ callee _ _ (11) -
_ _ method _ _ (11) - abort (22)
-
add
_ filter (11) -
add
_ trace _ func (11) - ancestors (11)
-
at
_ exit (11) - autoload (22)
- autoload? (11)
- bigdecimal (11)
- binding (11)
- binread (11)
- binwrite (11)
- caller (33)
-
caller
_ locations (22) - catch (22)
-
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) - chomp (11)
- chop (11)
- class (11)
-
class
_ eval (22) -
const
_ defined? (11) - constants (22)
-
convertible
_ int (22) - cp (11)
-
cpp
_ command (11) - create (20)
-
create
_ makefile (11) -
create
_ tmpsrc (11) -
def
_ exception (6) -
defined
_ class (11) -
depend
_ rules (11) - desc (11)
-
drb
/ extservm (11) -
egrep
_ cpp (22) - eval (33)
- exception (22)
- exec (44)
- execute (11)
- exit (22)
- exit! (11)
- fail (33)
-
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
for
_ fd (11) - foreach (22)
- fork (22)
- format (11)
- freeze (11)
- getpty (22)
- gets (35)
-
global
_ variables (11) - gsub (33)
-
have
_ header (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) - help (11)
- hex (11)
- httpd (11)
- identical? (11)
- include (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
instance
_ eval (22) -
instance
_ variables (11) - irb (11)
-
irb
/ xmp (11) - j (11)
- kill (22)
- lambda (17)
- libpathflag (11)
-
link
_ command (11) - load (11)
-
local
_ variables (11) - log (11)
- loop (22)
- method (11)
- mkdir (11)
-
module
_ eval (22) - namespace (11)
- new (74)
- oct (11)
- open (160)
- open-uri (6)
-
open
_ uri (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)
-
rb
_ exec _ end _ proc (11) -
rb
_ load (11) - read (33)
- readline (11)
- readlines (44)
- rect (11)
- rectangular (11)
-
remove
_ const (11) - reopen (55)
- require (11)
-
require
_ relative (11) - rmdir (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
run
_ config (6) - sample (44)
- scanf (12)
- select (22)
- send (22)
-
set
_ trace _ func (22) -
setup
_ argv (1) - skip (1)
- sleep (22)
- spawn (77)
- sprintf (11)
- sprintf フォーマット (11)
- srand (22)
- status (11)
- sub (22)
- sysopen (11)
- system (44)
- tag (10)
- terminate (11)
- test (40)
- timeout (27)
-
to
_ a (11) -
to
_ ary (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ str (11) -
trace
_ var (33) - trap (22)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
untrace
_ var (11) - value (10)
- warn (7)
-
webrick
/ https (11) -
webrick
/ httpservlet (11) -
with
_ werror (22) - write (22)
- xmp (11)
- xpopen (22)
- xsystem (11)
- y (11)
- このマニュアルのヘルプ (11)
- クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 環境変数 (11)
- 終了処理 (11)
検索結果
先頭5件
-
Kernel
$ $ INPUT _ LINE _ NUMBER -> Integer (27106.0) -
$. の別名
...$. の別名
1 e
2 f
3 g
4 h
5 i
# end of a.txt
require "English"
File.foreach(ARGV.at(0)){|line|
# read line
}
p $INPUT_LINE_NUMBER
# end of sample.rb
ruby sample.rb a.txt
#=> 5... -
Kernel
$ $ INPUT _ RECORD _ SEPARATOR -> String | nil (27106.0) -
$/ の別名
...$/ の別名
require "English"
$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]
__END__
ugo|ego|fogo... -
Kernel
$ $ LAST _ PAREN _ MATCH -> String | nil (27106.0) -
$+ の別名
...r1 = Regexp.compile("<img src=(http:.+?)>")
r2 = Regexp.compile("<a href=(http|ftp).+?>(.+?)</a>")
while line = DATA.gets
[ r1, r2 ].each {|rep|
rep =~ line
p $+
}
end
__END__
<tr> <td><img src=http://localhost/a.jpg></td> <td>ikkou</td> <td><a href=http://localhost....../link.html>link</a></td> </tr>
#enf of sample.rb
$ ruby sample.rb
"http://localhost/a.jpg"
"link"... -
Kernel
$ $ PID -> Integer (27106.0) -
$$ の別名
...$$ の別名
require "English"
p sprintf("something%s", $PID) #=> "something5543" など... -
Kernel
$ $ POSTMATCH -> String | nil (27106.0) -
$' の別名
...$' の別名
require "English"
str = 'hoge,foo,bar,hee,hoo'
/foo/ =~ str
p $POSTMATCH #=> ",bar,hee,hoo"... -
Kernel
$ $ PREMATCH -> String | nil (27106.0) -
$` の別名
...$` の別名
require "English"
str = 'hoge,foo,bar,hee,hoo'
/foo/ =~ str
p $PREMATCH #=> "hoge,"... -
Kernel
$ $ PROCESS _ ID -> Integer (27106.0) -
$$ の別名
...$$ の別名
require "English"
p sprintf("something%s", $PID) #=> "something5543" など... -
Kernel
. # loop -> Enumerator (27106.0) -
(中断されない限り)永遠にブロックの評価を繰り返します。 ブロックが指定されなければ、代わりに Enumerator を返します。
...れば、代わりに Enumerator を返します。
//emlist[例][ruby]{
loop do
print "Input: "
line = gets
break if !line or line =~ /^qQ/
# ...
end
//}
与えられたブロック内で StopIteration を Kernel.#raise すると
ループを終了して nil を返します。
ループ......れば、代わりに Enumerator を返します。
//emlist[例][ruby]{
loop do
print "Input: "
line = gets
break if !line or line =~ /^qQ/
# ...
end
//}
与えられたブロック内で StopIteration を Kernel.#raise すると
ループを終了して Enumerator が最後に返した......。
ループを終了させる場合、通常は break を使用してください。
//emlist[例][ruby]{
enum = Enumerator.new { |y|
y << "one"
y << "two"
:ok
}
result = loop {
puts enum.next
} # => :ok
//}
@return break の引数など、ループ脱出時の値を返します。... -
Kernel
. # loop { . . . } -> object | nil (27106.0) -
(中断されない限り)永遠にブロックの評価を繰り返します。 ブロックが指定されなければ、代わりに Enumerator を返します。
...れば、代わりに Enumerator を返します。
//emlist[例][ruby]{
loop do
print "Input: "
line = gets
break if !line or line =~ /^qQ/
# ...
end
//}
与えられたブロック内で StopIteration を Kernel.#raise すると
ループを終了して nil を返します。
ループ......れば、代わりに Enumerator を返します。
//emlist[例][ruby]{
loop do
print "Input: "
line = gets
break if !line or line =~ /^qQ/
# ...
end
//}
与えられたブロック内で StopIteration を Kernel.#raise すると
ループを終了して Enumerator が最後に返した......。
ループを終了させる場合、通常は break を使用してください。
//emlist[例][ruby]{
enum = Enumerator.new { |y|
y << "one"
y << "two"
:ok
}
result = loop {
puts enum.next
} # => :ok
//}
@return break の引数など、ループ脱出時の値を返します。... -
Kernel
# cpp _ command(outfile , opt = "") -> String (27100.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
...実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand...