るりまサーチ

最速Rubyリファレンスマニュアル検索!
3766件ヒット [2701-2800件を表示] (0.050秒)
トップページ > クエリ:read[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. _builtin read
  2. stringio read
  3. io read
  4. csv read
  5. tuple read

モジュール

キーワード

検索結果

<< < ... 26 27 28 29 30 ... > >>

Exception#backtrace_locations -> [Thread::Backtrace::Location] (101.0)

バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。

...バックトレース情報を返します。Exception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。

現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。

//emlist[例: test.rb][ruby]{
require...

Sync_m#sync_ex_locker -> Thread | nil (101.0)

@todo

@todo

Sync_m#sync_ex_locker=(thread) (101.0)

@todo

@todo

Sync_m#sync_upgrade_waiting -> [Thread] (101.0)

@todo

@todo

Sync_m#sync_waiting -> [Thread] (101.0)

@todo

@todo

絞り込み条件を変える

WEBrick::GenericServer#tokens -> Thread::SizedQueue (101.0)

MaxClient の設定のために使われる Thread::SizedQueue オブジェクト を返します。Thread::SizedQueue オブジェクトのサイズは現在受け付け ることのできるクライアントの数です。

...MaxClient の設定のために使われる Thread::SizedQueue オブジェクト
を返します。Thread::SizedQueue オブジェクトのサイズは現在受け付け
ることのできるクライアントの数です。

MaxClient を知りたい場合は self.tokens.max です。
self.tokens...

IO#close -> nil (25.0)

入出力ポートをクローズします。

...IOError 既に close されていた場合に発生します。

//emlist[例][ruby]{
IO.write("testfile", "test")
f = File.open("testfile")
f.read # => "test"
f.close
# f.read # => IOError (すでに close しているので read できない)
//}

@see IO#closed?, IO#close_read, IO#close_write...
...se Errno::EXXX close に失敗した場合に発生します。

//emlist[例][ruby]{
IO.write("testfile", "test")
f = File.open("testfile")
f.read # => "test"
f.close
# f.read # => IOError (すでに close しているので read できない)
//}

@see IO#closed?, IO#close_read, IO#close_write...

Net::HTTP#get2(path, header = nil) -> Net::HTTPResponse (25.0)

サーバ上の path にあるエンティティを取得します。 Net::HTTPResponse オブジェクトを返します。

...# body is already read

# using block
http.request_get('/index.html') {|response|
p response['content-type']
response.read_body do |str| # read body now
print str
end
}
//}

get2 は時代遅れなので使わないでください。

@see Net::HTTP#get, Net::HTTPResponse#read_body...

Net::HTTP#get2(path, header = nil) {|response| .... } -> Net::HTTPResponse (25.0)

サーバ上の path にあるエンティティを取得します。 Net::HTTPResponse オブジェクトを返します。

...# body is already read

# using block
http.request_get('/index.html') {|response|
p response['content-type']
response.read_body do |str| # read body now
print str
end
}
//}

get2 は時代遅れなので使わないでください。

@see Net::HTTP#get, Net::HTTPResponse#read_body...

Net::HTTP#post2(path, data, header = nil) -> Net::HTTPResponse (25.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。 返り値は Net::HTTPResponse のインスタンスです。

...se.body # body is already read

# using block
http.request_post('/cgi-bin/nice.rb', 'datadatadata...') {|response|
p response.status
p response['content-type']
response.read_body do |str| # read body now
print str
end
}
//}

@see Net::HTTP#post, Net::HTTPResponse#read_body...

絞り込み条件を変える

Net::HTTP#post2(path, data, header = nil) {|response| .... } -> Net::HTTPResponse (25.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。 返り値は Net::HTTPResponse のインスタンスです。

...se.body # body is already read

# using block
http.request_post('/cgi-bin/nice.rb', 'datadatadata...') {|response|
p response.status
p response['content-type']
response.read_body do |str| # read body now
print str
end
}
//}

@see Net::HTTP#post, Net::HTTPResponse#read_body...
<< < ... 26 27 28 29 30 ... > >>