別のキーワード
種類
- インスタンスメソッド (184)
- クラス (72)
- ライブラリ (24)
- 文書 (11)
ライブラリ
- ビルトイン (24)
-
irb
/ cmd / help (12) - monitor (150)
-
net
/ ftp (10) -
net
/ http (12) - rake (12)
-
rubygems
/ exceptions (12) - uri (12)
-
webrick
/ httpstatus (12)
クラス
-
IRB
:: ExtendCommand :: Help (12) - Monitor (78)
-
Net
:: FTP :: MLSxEntry (10) - String (12)
モジュール
- MonitorMixin (72)
キーワード
- ArgumentError (12)
- ClientError (12)
- DocumentError (12)
- HTTPClientError (12)
- InvalidComponentError (12)
-
NEWS for Ruby 2
. 2 . 0 (11) - TaskArgumentError (12)
- center (12)
- cgi (12)
- enterable? (10)
- execute (12)
- exit (12)
- irb (12)
-
mon
_ enter (18) -
mon
_ exit (18) -
mon
_ synchronize (18) -
mon
_ try _ enter (18) - synchronize (18)
-
try
_ enter (12) -
try
_ mon _ enter (18) -
wait
_ for _ cond (6)
検索結果
先頭5件
-
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (12.0) -
RI から Ruby のドキュメントを参照します。
...空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
--------------------------... -
cgi (12.0)
-
CGI プログラムの支援ライブラリです。
...ne mode: enter name=value pairs on standard input)
と聞いてくるので、
q=hoge&v=foo
などと入力して下さい。クエリーに入力された値がセットされて、スクリプトが実行されます。
なお、Windows 環境の場合、ただ値を入力して Enter を押... -
irb (12.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...力する事で irb のプロンプトに戻る事が
できます。
//emlist{
irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------... -
Monitor
# mon _ synchronize { . . . } -> object (6.0) -
モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
...モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
ブロックの評価値を返り値として返します。
@see Monitor#enter... -
Monitor
# synchronize { . . . } -> object (6.0) -
モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
...モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
ブロックの評価値を返り値として返します。
@see Monitor#enter... -
Monitor
# wait _ for _ cond(cond , timeout) -> bool (6.0) -
MonitorMixin::ConditionVariable 用の内部メソッドです。
...指定しなかった場合はタイムアウトしません。
@return タイムアウトしたときは false を返します。それ以外は true を返します。
//emlist[例][ruby]{
require 'monitor'
m = Monitor.new
cv = Thread::ConditionVariable.new
m.enter
m.wait_for_cond(cv, 1)
//}... -
Monitor
# wait _ for _ cond(cond , timeout) -> true (6.0) -
MonitorMixin::ConditionVariable 用の内部メソッドです。
...アウトまでの秒数。指定しなかった場合はタイムアウトしません。
@return Ruby 1.9 の頃からのバグで常に true を返します。(16608)
//emlist[例][ruby]{
require 'monitor'
m = Monitor.new
cv = Thread::ConditionVariable.new
m.enter
m.wait_for_cond(cv, 1)
//}... -
MonitorMixin
# mon _ exit -> () (6.0) -
モニターのロックを解放します。
...モニターのロックを解放します。
mon_enter でロックした回数だけ mon_exit を
呼ばなければモニターは解放されません。
モニターが解放されればモニターのロック待ちになっていた
スレッドが一つ実行を再開します。
@raise... -
MonitorMixin
# mon _ synchronize { . . . } -> object (6.0) -
モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
...モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
ブロックの評価値を返り値として返します。
@see MonitorMixin#mon_enter... -
MonitorMixin
# synchronize { . . . } -> object (6.0) -
モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
...モニターをロックし、ブロックを実行します。実行後に必ずモニターのロックを解放します。
ブロックの評価値を返り値として返します。
@see MonitorMixin#mon_enter... -
NEWS for Ruby 2
. 2 . 0 (6.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* 追加: Kernel.#itself(Object#itself)
* 改善: Kernel.#throw は、対応する catch ブロックがないとき ArgumentError ではなく
ArgumentError のサブクラスである UncaughtThrowError を発生させるようになりました
* Process
* 拡張: Process.s......無限大が指定されたとき C99 で期待されるような値を返します。
* Proc
* 非互換: ArgumentError は発生しなくなりました。
* ArgumentError is no longer raised when lambda Proc is passed as a
block, and the number of yielded arguments does not match......ate は常にUTCのTimeオブジェクトを生成します。
* Time.strptime は引数が日付や時刻の情報を含まない場合、ArgumentErrorを発生させます。
* lib/rational.rb
* 2009年から非推奨だったので削除しました。
* lib/complex.rb
* 2009年...