501件ヒット
[501-501件を表示]
(0.120秒)
ライブラリ
- ビルトイン (348)
- e2mmap (6)
-
irb
/ cmd / load (12) -
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (24)
- open-uri (24)
- rubygems (12)
- stringio (72)
クラス
-
ARGF
. class (36) - Array (48)
- BasicObject (24)
- Enumerator (12)
- Exception (24)
- IO (84)
-
IRB
:: ExtendCommand :: Load (12) - Module (36)
- Object (25)
- Random (36)
- StringIO (72)
- SystemExit (12)
- Thread (12)
モジュール
- Exception2MessageMapper (6)
- Kernel (36)
-
MiniTest
:: Assertions (2) -
OpenURI
:: OpenRead (24)
キーワード
-
assert
_ throws (1) - exception (24)
- execute (12)
- gem (12)
- include (12)
-
instance
_ eval (24) - method (12)
-
must
_ throw (1) - next (12)
- open (24)
- print (36)
- printf (24)
-
public
_ instance _ method (12) - putc (12)
- puts (24)
- rand (36)
- readline (36)
-
remove
_ const (12) - reopen (60)
- sample (48)
-
singleton
_ method (12) - skip (1)
- status (12)
-
try
_ do (24)
検索結果
-
StringIO
# reopen(sio) -> StringIO (3.0) -
自身が表す文字列が指定された StringIO と同じものになります。
自身が表す文字列が指定された StringIO と同じものになります。
@param sio 自身が表したい StringIO を指定します。
//emlist[例][ruby]{
require 'stringio'
sio = StringIO.new("hoge", 'r+')
sio2 = StringIO.new("foo", 'r+')
sio.reopen(sio2)
p sio.read #=> "foo"
//}