405件ヒット
[101-200件を表示]
(0.067秒)
ライブラリ
クラス
- CSV (12)
- ERB (12)
-
Gem
:: Specification (24) -
Logger
:: Application (1) - Mutex (2)
- OptionParser (48)
- Pathname (12)
-
RDoc
:: Options (24) -
Rake
:: Application (12) - Rational (12)
-
Scanf
:: FormatString (6) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - StringScanner (12)
- Thread (50)
-
Thread
:: Mutex (10) - ThreadGroup (24)
- ThreadsWait (6)
モジュール
- Kernel (120)
キーワード
- add (12)
-
add
_ runtime _ dependency (12) -
all
_ waits (6) - cp (12)
- desc (12)
-
dry
_ run (12) -
dry
_ run= (12) - help (24)
- httpd (12)
- inspect (12)
- install (12)
- list (12)
-
matched
_ size (12) - mkdir (12)
- namespace (12)
- prune (6)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - rmdir (12)
-
runtime
_ dependencies (12) - sleep (12)
- start (1)
-
to
_ s (20) - truncate (54)
-
try
_ run (24) - wakeup (12)
検索結果
先頭5件
-
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (6225.0) -
新しい名前空間を作成します。
...新しい名前空間を作成します。
与えられたブロックを評価する間は、その名前空間を使用します。
例:
ns = namespace "nested" do
task :run
end
task_run = ns[:run] # find :run in the given namespace.
@see Rake::TaskManager#in_namespace... -
Kernel
# try _ run(src , opt = "") -> bool | nil (6203.0) -
与えられたソースコードが、コンパイルやリンクできるかどうか検査します。
...ンパイル前に評価されます。
ブロック内でソースコードを変更することができます。
@param src C のソースコードを指定します。
@param opt リンカに渡すオプションを指定します。
$CFLAGS, $LDFLAGS もリンカには渡されま... -
Kernel
# try _ run(src , opt = "") { . . . } -> bool | nil (6203.0) -
与えられたソースコードが、コンパイルやリンクできるかどうか検査します。
...ンパイル前に評価されます。
ブロック内でソースコードを変更することができます。
@param src C のソースコードを指定します。
@param opt リンカに渡すオプションを指定します。
$CFLAGS, $LDFLAGS もリンカには渡されま... -
CSV
# truncate(path , length) -> 0 (6201.0) -
File#truncate に委譲します。
...File#truncate に委譲します。
@see File#truncate... -
Shell
# truncate(path , length) -> 0 (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # truncate(path , length) -> 0 (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Thread
# wakeup -> self (6123.0) -
停止状態(stop)のスレッドを実行可能状態(run)にします。
...p)のスレッドを実行可能状態(run)にします。
@raise ThreadError 死んでいるスレッドに対して実行すると発生します。
//emlist[例][ruby]{
c = Thread.new { Thread.stop; puts "hey!" }
sleep 0.1 while c.status!='sleep'
c.wakeup
c.join
# => "hey!"
//}
@see Thread#run......, Thread.stop... -
Thread
# report _ on _ exception -> bool (6119.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 #......a.run
# => #<Thread: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.repor......t_on_exception = false
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# report _ on _ exception=(newstate) (6119.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 #......a.run
# => #<Thread: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.repor......t_on_exception = false
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Kernel
# cp -> () (6113.0) -
ファイルやディレクトリをコピーします。
...ファイルやディレクトリをコピーします。
ruby -run -e cp -- [OPTION] SOURCE DEST
-p 可能であればファイルの属性を保持します。
-r 再帰的にコピーします。
-v 詳細表示
@see cp(1)... -
OptionParser
# help -> String (6113.0) -
サマリの文字列を返します。
...ire "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage: example.rb [options]
# -v, --[no-]verbose Run verb...