種類
ライブラリ
- English (48)
- ビルトイン (589)
-
cgi
/ core (24) - csv (72)
-
drb
/ timeridconv (12) - erb (24)
- etc (12)
- expect (24)
- forwardable (24)
-
io
/ wait (36) -
irb
/ context (12) -
irb
/ output-method (96) - kconv (96)
-
minitest
/ unit (2) - mkmf (12)
- monitor (18)
-
net
/ ftp (48) -
net
/ http (184) -
net
/ imap (24) -
net
/ pop (60) -
net
/ protocol (31) -
net
/ smtp (72) - open3 (84)
- openssl (96)
- pp (24)
- prettyprint (60)
- rake (12)
- readline (12)
- resolv (12)
-
rexml
/ document (144) - rss (396)
-
rubygems
/ commands / outdated _ command (12) -
rubygems
/ package / tar _ output (84) -
rubygems
/ source _ index (12) -
rubygems
/ user _ interaction (60) - shell (39)
-
shell
/ command-processor (6) -
shell
/ filter (18) -
shell
/ process-controller (6) - socket (250)
- stringio (48)
- strscan (24)
- thread (4)
- timeout (69)
- tracer (48)
- uri (24)
-
webrick
/ cgi (12) -
webrick
/ httpstatus (48) -
webrick
/ log (12) - win32ole (48)
- zlib (84)
クラス
-
ARGF
. class (24) - Array (57)
- CGI (24)
-
CGI
:: Cookie (12) - CSV (60)
-
DRb
:: TimerIdConv (12) - ERB (24)
-
Encoding
:: Converter (12) - File (12)
-
Gem
:: Package :: TarOutput (72) -
Gem
:: SourceIndex (12) -
Gem
:: StreamUI (24) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - IO (296)
-
IRB
:: Context (12) -
IRB
:: OutputMethod (60) -
IRB
:: StdioOutputMethod (12) - Integer (48)
- MatchData (24)
-
MiniTest
:: Unit (2) - Monitor (6)
-
MonitorMixin
:: ConditionVariable (12) - Mutex (2)
-
Net
:: FTP (48) -
Net
:: HTTP (146) -
Net
:: IMAP (12) -
Net
:: IMAP :: Address (12) -
Net
:: POP3 (60) -
Net
:: SMTP (72) - Object (24)
-
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: Session (24) - PP (24)
- PrettyPrint (60)
-
RDoc
:: Options (24) -
REXML
:: AttlistDecl (12) -
REXML
:: Attribute (12) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (12) -
REXML
:: Entity (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: NotationDecl (12) -
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: RDF :: Image (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) -
RSS
:: TrackBackModel10 :: TrackBackAbout (48) -
RSS
:: TrackBackModel20 :: TrackBackAbout (48) -
Rake
:: Application (12) -
Resolv
:: DNS (12) - Shell (39)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) -
Shell
:: ProcessController (6) - Socket (132)
- String (72)
- StringIO (48)
- StringScanner (24)
- TCPSocket (10)
-
Thread
:: ConditionVariable (12) -
Thread
:: Mutex (10) - Tracer (48)
-
URI
:: Generic (24) -
WEBrick
:: BasicLog (12) -
WEBrick
:: CGI (12) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ PARAM (36) -
Zlib
:: GzipReader (12) -
Zlib
:: Inflate (12) -
Zlib
:: ZStream (48)
モジュール
- Etc (12)
-
GC
:: Profiler (12) - Kconv (48)
- Kernel (148)
- Open3 (84)
-
OpenSSL
:: X509 (12) -
RSS
:: BaseTrackBackModel (36) -
RSS
:: RootElementMixin (24) - Readline (12)
-
Socket
:: Constants (108) - Timeout (21)
-
WEBrick
:: HTTPStatus (24)
キーワード
-
$ CHILD _ STATUS (12) -
$ DEFAULT _ OUTPUT (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ stdout (12) - << (12)
- > (6)
- >> (6)
-
AF
_ ROUTE (24) - CSV (12)
- Cookie (12)
- ETIMEDOUT (12)
- Error (12)
- Forwardable (12)
- GatewayTimeout (12)
- HTTPGatewayTimeOut (12)
- HTTPGatewayTimeout (7)
- HTTPRequestTimeOut (12)
- HTTPRequestTimeout (7)
-
IFF
_ ROUTE (24) -
IPPROTO
_ ROUTING (24) -
IP
_ ROUTER _ ALERT (24) -
MSG
_ DONTROUTE (24) -
MSG
_ OOB (24) -
NEWS for Ruby 2
. 2 . 0 (11) - OpenTimeout (12)
- OutdatedCommand (12)
- Output (12)
- OutputMethod (12)
-
PF
_ ROUTE (24) - Queue (12)
-
RC
_ GATEWAY _ TIMEOUT (12) -
RC
_ REQUEST _ TIMEOUT (12) - ReadTimeout (12)
- RequestTimeout (12)
- Ruby用語集 (12)
-
SC
_ TIMEOUTS (12) -
SO
_ DONTROUTE (24) -
SO
_ OOBINLINE (24) - STDOUT (12)
- SingleForwardable (12)
- StdioOutputMethod (12)
- TarOutput (12)
- Timeout (12)
- TimeoutError (8)
- TrackBackAbout (24)
-
V
_ ERR _ OUT _ OF _ MEM (12) - WriteTimeout (7)
- X509 (12)
- ZStream (12)
- about (108)
- about= (108)
-
add
_ gem _ contents (12) -
add
_ signatures (12) -
avail
_ out (12) -
avail
_ out= (12) - begin (12)
-
block
_ output _ synchronize (6) - cgi (12)
-
cgi
/ session (12) - chmod (12)
- chr (24)
- close (12)
- content (12)
- content= (12)
-
continue
_ timeout (12) -
continue
_ timeout= (12) -
cpp
_ command (12) -
debug
_ output= (12) -
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) - digits (24)
- display (12)
- end (12)
- expect (24)
- fatal (12)
- fetch (36)
- filter (36)
-
flush
_ next _ out (12) -
force
_ output (12) -
force
_ output= (12) - format (12)
- header (12)
- input? (12)
-
insert
_ output (12) - instance (24)
-
irb
/ output-method (12) - kconv (24)
-
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) - logout (12)
- new (137)
-
on
_ event _ with _ outargs (12) - open (17)
-
open
_ timeout (48) -
open
_ timeout= (48) - outdated (12)
- output (12)
- output= (13)
- output? (12)
-
output
_ encoding (12) -
output
_ encoding= (12) - outs (12)
- pack (21)
- pack テンプレート文字列 (12)
-
pipeline
_ r (12) -
pipeline
_ rw (12) -
pipeline
_ w (24) - pointer= (12)
- popen (168)
- popen2 (12)
- popen2e (12)
- popen3 (12)
- pos= (12)
- pp (24)
- ppx (12)
- pread (8)
- print (24)
- printn (12)
- puts (12)
-
rb
_ define _ class _ under (12) -
rb
_ define _ module _ under (12) -
rb
_ thread _ select (1) -
rdoc
/ generator / json _ index (12) -
rdoc
/ markdown (12) - read (24)
-
read
_ nonblock (36) -
read
_ timeout (48) -
read
_ timeout= (48) - readpartial (48)
- report (12)
- resource (12)
- resource= (12)
- retval? (12)
- route (12)
-
route
_ from (12) -
route
_ to (12) -
ruby 1
. 6 feature (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ package / tar _ output (12) -
rubygems
/ security (12) - select (24)
-
set
_ debug _ output (36) -
set
_ eoutvar (12) -
singleline
_ format (12) -
singleline
_ pp (12) - sleep (12)
- spawn (48)
-
ssl
_ timeout (24) -
ssl
_ timeout= (24) - start (12)
- status (1)
- stdout (24)
- stdout= (12)
-
stdout
_ mutex (12) - sysread (24)
- tcp (24)
- timeout (73)
- timeout= (24)
- timeouts= (12)
-
to
_ f (12) -
total
_ out (12) - toutf16 (24)
- toutf32 (24)
- toutf8 (24)
-
trackback
_ about (12) -
trackback
_ about= (12) -
trackback
_ abouts (12) -
tty
_ output= (12) - unpack (12)
- value (24)
- value= (24)
- wait (36)
-
wait
_ for _ cond (6) -
wait
_ readable (12) -
wait
_ writable (12) - write (132)
-
write
_ timeout (7) -
write
_ timeout= (7)
検索結果
先頭5件
-
pack テンプレート文字列 (6.0)
-
pack テンプレート文字列
...7fffffff].pack("U") # => "\xFD\xBF\xBF\xBF\xBF\xBF"
[0x80000000].pack("U") # => RangeError: pack(U): value out of range
[0,256,65536].pack("U3").b # => "\x00\xC4\x80\xF0\x90\x80\x80"
"\x00\xC4\x80\xF0\x90\x80\x80".unpack("U3") # => [0, 256,......"CxC") # => "a\x00b"
[97, 98].pack("Cx3C") # => "a\x00\x00\x00b"
"abc".unpack("CxC") # => [97, 99]
"abc".unpack("Cx3C") # => ArgumentError: x outside of string
//}
: X
1バイト後退
//emlist[][ruby]{
[97, 98, 99].pack("CCXC") # => "ac"
"abcdef".unpack("x*XC") # => [102]
//}
: @... -
rdoc
/ generator / json _ index (6.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...o any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to......otice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND......NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.... -
rdoc
/ markdown (6.0) -
Markdown 形式で記述されたドキュメントを rdoc 上で解析するための サブライブラリです。
...to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to p......otice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND......HORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
kpeg への移植は Eric Hodel と Evan Phoenix によっ... -
ruby 1
. 6 feature (6.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...を返していた
p "foo".slice!(5,10)
=> ruby 1.6.7 (2002-03-01) [i586-linux]
nil
-:2:in `slice!': index 5 out of string (IndexError)
from -:2
=> ruby 1.6.7 (2002-08-01) [i586-linux]
nil
nil
: 2002-07-05 String#......たリゾルバは、timeout の制御が効きます(つまり、名前解
決中にThreadが切替え可能ということです)
require 'resolv'
p Resolv.new.getaddress("www.ruby-lang.org").to_s
=> /usr/local/lib/ruby/1.6/resolv.rb:160: warning: timeout (...) interpreted as metho... -
IO
. popen("-" , mode = "r" , opt={}) -> IO (2.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オ......pen("-", "r+") {|io|
if io # parent
io.puts "foo"
io.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"
opt ではエンコーディングの設定やプロセス起動のためのオプションが指定できます。... -
IO
. popen("-" , mode = "r" , opt={}) {|io| . . . } -> object (2.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オ......pen("-", "r+") {|io|
if io # parent
io.puts "foo"
io.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"
opt ではエンコーディングの設定やプロセス起動のためのオプションが指定できます。... -
IO
. popen(env , "-" , mode = "r" , opt={}) -> IO (2.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オ......pen("-", "r+") {|io|
if io # parent
io.puts "foo"
io.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"
opt ではエンコーディングの設定やプロセス起動のためのオプションが指定できます。... -
IO
. popen(env , "-" , mode = "r" , opt={}) {|io| . . . } -> object (2.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オ......pen("-", "r+") {|io|
if io # parent
io.puts "foo"
io.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"
opt ではエンコーディングの設定やプロセス起動のためのオプションが指定できます。...