るりまサーチ

最速Rubyリファレンスマニュアル検索!
858件ヒット [1-100件を表示] (0.121秒)

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_dev
  3. etc sc_2_c_bind
  4. tracer display_c_call
  5. tracer display_c_call=

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

URI::Generic#port -> String | nil (21118.0)

自身の port を文字列で返します。設定されていない場合は nil を返します。

...自身の port を文字列で返します。設定されていない場合は nil を返します。...

RSS::Rss::Channel::Cloud#port (21103.0)

@todo

@todo

Resolv::DNS::Resource::IN::SRV#port -> Integer (21102.0)

対象のサービスの対象のホストにおけるポート番号を返します。

対象のサービスの対象のホストにおけるポート番号を返します。

WEBrick::HTTPRequest#port -> String (21102.0)

サーバのポートを文字列で返します。

サーバのポートを文字列で返します。

Net::HTTP#local_port=(port) (12321.0)

接続に用いるローカルポートを設定します。

...@param port ローカルポート(数値、もしくはサービス名文字列)

//emlist[例][ruby]{
require 'net/http'

http = Net::HTTP.new("www.example.com")
http.local_host = "192.168.0.5"
http.local_port = "53043"

http.start do |h|
p h.get("/").body
end
//}

@see Net::HTTP#local_port=, Net...
...::HTTP#local_host


@see Net::HTTP.new...

絞り込み条件を変える

Thread#report_on_exception -> bool (12213.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

...Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception #...
...d:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = f...
...alse
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

Thread#report_on_exception=(newstate) (12213.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

...Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception #...
...d:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = f...
...alse
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

Net::HTTP#local_port -> nil | Integer | String (12208.0)

接続に用いるローカルポートを返します。

...接続に用いるローカルポートを返します。

nil の場合システムが適当にローカルポートを
決めます。

デフォルトは nil です。

@see Net::HTTP#local_port=, Net::HTTP#local_host...

RDoc::Options#coverage_report -> Integer | false (12201.0)

コマンドライン引数の --coverage-report オプションを指定していた場合、指 定した数値を返します。

...コマンドライン引数の --coverage-report オプションを指定していた場合、指
定した数値を返します。

指定しなかった場合は false を返します。...
<< 1 2 3 ... > >>