別のキーワード
ライブラリ
- ビルトイン (268)
- coverage (14)
- drb (48)
-
drb
/ extserv (12) -
drb
/ extservm (12) - objspace (48)
- profiler (18)
-
rdoc
/ code _ object (24) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) - socket (96)
- thread (2)
-
webrick
/ server (36)
クラス
- Coverage (14)
-
DRb
:: DRbServer (24) -
DRb
:: ExtServ (12) -
DRb
:: ExtServManager (12) -
Encoding
:: Converter (48) -
Process
:: Status (24) -
RDoc
:: CodeObject (24) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) - Socket (48)
- StopIteration (12)
- Thread (114)
-
Thread
:: Queue (12) - Time (12)
-
WEBrick
:: GenericServer (36)
モジュール
- DRb (24)
- ObjectSpace (48)
-
Profiler
_ _ (12) -
Socket
:: Constants (48)
キーワード
-
IPPROTO
_ DSTOPTS (24) -
IPV6
_ DSTOPTS (24) -
IPV6
_ RECVDSTOPTS (24) -
IPV6
_ RTHDRDSTOPTS (24) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 6 . 0 (7) -
Profiler
_ _ (6) - Status (12)
- StopIteration (12)
- Thread (12)
- ThreadError (12)
-
add
_ tag (12) -
add
_ word _ pair (12) - alive? (24)
-
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - backtrace (12)
- debug (12)
-
drb
/ extservm (12) -
handle
_ interrupt (12) - irb (12)
-
num
_ waiting (12) -
peek
_ result (7) -
primary
_ server (12) -
primitive
_ convert (48) -
print
_ profile (6) -
rb
_ thread _ stop (12) -
rb
_ thread _ stop _ p (12) -
rb
_ thread _ stop _ timer (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - result (19)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby
_ stop (12) - run (12)
- service (12)
- shutdown (12)
-
st
_ foreach (12) -
start
_ doc (12) - status (24)
- stop? (12)
-
stop
_ doc (12) -
stop
_ profile (6) -
stop
_ service (36) - stopped? (12)
- stopsig (12)
- strftime (12)
-
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) - wakeup (12)
- スレッド (12)
- 制御構造 (12)
検索結果
先頭5件
-
Socket
:: IPV6 _ RECVDSTOPTS -> Integer (6100.0) -
Receive all IP6 options for response。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive all IP6 options for response。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IPV6,
3542 -
Socket
:: IPV6 _ RTHDRDSTOPTS -> Integer (6100.0) -
Allows removal of sticky destination options header。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Allows removal of sticky destination options header。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IPV6,
3542 -
VALUE rb
_ thread _ stop(void) (6100.0) -
現在実行中のスレッドを停止します。 他のスレッドから rb_thread_wakeup を呼ばれると再開します。
現在実行中のスレッドを停止します。
他のスレッドから rb_thread_wakeup を呼ばれると再開します。 -
static VALUE rb
_ thread _ stop _ p(VALUE thread) (6100.0) -
-
void rb
_ thread _ stop _ timer(void) (6100.0) -
setitimer(2) が存在する場合のみ定義されます。
setitimer(2) が存在する場合のみ定義されます。
Ruby のスレッドスケジューリングに使用しているインターバルタイマーを
停止します。このタイマーが止まると Ruby のスレッド機構は基本的に停止
しますので注意してください。 -
void ruby
_ stop(int ex) (6100.0) -
評価器プロセスを停止します。
評価器プロセスを停止します。 -
StopIteration (6000.0)
-
イテレーションを止めるときに発生する例外です。
イテレーションを止めるときに発生する例外です。 -
StopIteration
# result -> object (3000.0) -
この例外オブジェクトを発生させる原因となったメソッド等の返り値を返します。
...ect = Object.new
def object.each
yield :yield1
yield :yield2
:each_returned
end
enumerator = object.to_enum
p enumerator.next #=> :yield1
p enumerator.next #=> :yield2
begin
enumerator.next
rescue StopIteration => error
p error.result #=> :each_returned
end... -
Coverage
. result(stop: true , clear: true) -> Hash (131.0) -
対象ファイル名をキー、測定結果を値したハッシュを返します。 測定結果の詳細は、coverage ライブラリ を参照してください。
...、測定結果を値したハッシュを返します。
測定結果の詳細は、coverage ライブラリ を参照してください。
@param stop true であれば、カバレッジの測定を終了します。
@param clear true であれば、測定記録をクリアします。
@return......overage.result(clear: true, stop: false) と指定することで、続けて新しく実行された行だけを記録することができます。
//emlist[][ruby]{
require "coverage"
Coverage.start(oneshot_lines: true)
load "bool.rb"
p Coverage.result(clear: true, stop: false) #=> {"bool.rb"=>......{:oneshot_lines=>[1]}}
bool(0)
p Coverage.result(clear: true, stop: false) #=> {"bool.rb"=>{:oneshot_lines=>[2, 3]}}
bool(nil)
p Coverage.result(clear: true, stop: false) #=> {"bool.rb"=>{:oneshot_lines=>[5]}}
//}
上記のコード例で、bool(0) で実行された2行目の条件式は、測...