1243件ヒット
[1201-1243件を表示]
(0.136秒)
別のキーワード
ライブラリ
- ビルトイン (243)
-
cgi
/ core (24) - erb (12)
- expect (24)
-
irb
/ output-method (72) - mkmf (12)
-
net
/ ftp (48) -
net
/ http (146) -
net
/ imap (24) -
net
/ pop (60) -
net
/ smtp (72) - openssl (72)
- prettyprint (12)
- rake (12)
-
rexml
/ document (108) - rss (72)
-
rubygems
/ package / tar _ output (48) -
shell
/ command-processor (6) - stringio (36)
- strscan (24)
- timeout (8)
- uri (24)
- win32ole (36)
- zlib (24)
クラス
-
ARGF
. class (22) - Array (57)
- CGI (24)
- ERB (12)
-
Encoding
:: Converter (12) -
Gem
:: Package :: TarOutput (48) - IO (80)
-
IRB
:: OutputMethod (60) -
IRB
:: StdioOutputMethod (12) - Integer (24)
- MatchData (24)
- Mutex (2)
-
Net
:: FTP (48) -
Net
:: HTTP (146) -
Net
:: IMAP (12) -
Net
:: IMAP :: Address (12) -
Net
:: POP3 (60) -
Net
:: SMTP (72) - Object (12)
-
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: Session (24) - PrettyPrint (12)
-
RDoc
:: Options (24) -
REXML
:: Attribute (12) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: NotationDecl (12) -
RSS
:: RDF :: Textinput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) -
Rake
:: Application (12) -
Shell
:: CommandProcessor (6) - String (24)
- StringIO (36)
- StringScanner (24)
-
Thread
:: Mutex (10) -
URI
:: Generic (24) -
WIN32OLE
_ PARAM (36) -
Zlib
:: GzipReader (12) -
Zlib
:: Inflate (12)
モジュール
- Kernel (20)
-
RSS
:: RootElementMixin (24)
キーワード
- << (12)
- about (24)
- about= (24)
-
add
_ gem _ contents (12) -
add
_ signatures (12) - begin (12)
- chr (24)
- close (12)
-
continue
_ timeout (12) -
continue
_ timeout= (12) -
cpp
_ command (12) -
debug
_ output= (12) - display (12)
- end (12)
- expect (24)
- fetch (36)
-
force
_ output (12) -
force
_ output= (12) - header (12)
- input? (12)
-
insert
_ output (12) -
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) - logout (12)
-
open
_ timeout (48) -
open
_ timeout= (48) - output (12)
- output? (12)
-
output
_ encoding (12) -
output
_ encoding= (12) - pack (21)
- pointer= (12)
- pos= (12)
- pp (12)
- ppx (12)
- pread (8)
- print (24)
- printn (12)
- puts (12)
- read (12)
-
read
_ nonblock (34) -
read
_ timeout (48) -
read
_ timeout= (48) - readpartial (48)
- retval? (12)
- route (12)
-
route
_ from (12) -
route
_ to (12) -
set
_ debug _ output (36) -
set
_ eoutvar (12) - sleep (12)
-
ssl
_ timeout (24) -
ssl
_ timeout= (24) - sysread (24)
- timeout (32)
- timeout= (24)
-
to
_ f (12) -
tty
_ output= (12) - unpack (12)
- write (108)
-
write
_ timeout (7) -
write
_ timeout= (7)
検索結果
先頭4件
-
Array
# fetch(nth) -> object (25.0) -
nth 番目の要素を返します。
...した結果を返します。
@param nth 取得したい要素のインデックスを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる
暗黙の型変換を試みます。
@param ifnone 要素が存在しな......かった場合に返すべき値を指定します。
@raise TypeError 引数 nth に整数以外の(暗黙の型変換が行えない)オブジェ
クトを指定した場合に発生します。
@raise IndexError 引数 ifnone もブロックも指定しておらず、 nth 番......しなかった場合に発生します。
//emlist[例][ruby]{
a = [1, 2, 3, 4, 5]
begin
p a.fetch(10)
rescue IndexError => err
puts err #=> index 10 out of array
end
p a.fetch(10, 999) #=> 999
result = a.fetch(10){|nth|
print "#{nth} はありません。\n"
999
}
p result #=> 999
//}... -
Array
# fetch(nth) {|nth| . . . } -> object (25.0) -
nth 番目の要素を返します。
...した結果を返します。
@param nth 取得したい要素のインデックスを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる
暗黙の型変換を試みます。
@param ifnone 要素が存在しな......かった場合に返すべき値を指定します。
@raise TypeError 引数 nth に整数以外の(暗黙の型変換が行えない)オブジェ
クトを指定した場合に発生します。
@raise IndexError 引数 ifnone もブロックも指定しておらず、 nth 番......しなかった場合に発生します。
//emlist[例][ruby]{
a = [1, 2, 3, 4, 5]
begin
p a.fetch(10)
rescue IndexError => err
puts err #=> index 10 out of array
end
p a.fetch(10, 999) #=> 999
result = a.fetch(10){|nth|
print "#{nth} はありません。\n"
999
}
p result #=> 999
//}... -
Array
# fetch(nth , ifnone) -> object (25.0) -
nth 番目の要素を返します。
...した結果を返します。
@param nth 取得したい要素のインデックスを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる
暗黙の型変換を試みます。
@param ifnone 要素が存在しな......かった場合に返すべき値を指定します。
@raise TypeError 引数 nth に整数以外の(暗黙の型変換が行えない)オブジェ
クトを指定した場合に発生します。
@raise IndexError 引数 ifnone もブロックも指定しておらず、 nth 番......しなかった場合に発生します。
//emlist[例][ruby]{
a = [1, 2, 3, 4, 5]
begin
p a.fetch(10)
rescue IndexError => err
puts err #=> index 10 out of array
end
p a.fetch(10, 999) #=> 999
result = a.fetch(10){|nth|
print "#{nth} はありません。\n"
999
}
p result #=> 999
//}... -
Zlib
:: Inflate # <<(string) -> self (25.0) -
Zlib::Inflate#inflate と同じように string を 展開ストリームに入力しますが、Zlib::Inflate オブジェクト そのものを返します。展開ストリームからの出力は、 出力バッファに保存されます。
...トリームからの出力は、
出力バッファに保存されます。
require 'zlib'
cstr = "x\234\313\310OOUH+MOTH\315K\001\000!\251\004\276"
inz = Zlib::Inflate.new
inz << cstr[0, 10]
p inz.flush_next_out #=> "hoge fu"
inz << cstr[10..-1]
p inz.flush_next_out #=> "ga end"...