490件ヒット
[1-100件を表示]
(0.129秒)
ライブラリ
- ビルトイン (192)
- bigdecimal (24)
- csv (12)
- logger (1)
-
minitest
/ unit (3) - optparse (48)
- pathname (12)
- rake (24)
-
rubygems
/ command _ manager (12) -
rubygems
/ doc _ manager (12) -
rubygems
/ gem _ runner (12) -
rubygems
/ specification (24) - scanf (6)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - stringio (12)
- strscan (12)
- thwait (6)
- un (24)
-
webrick
/ server (24)
クラス
- BigDecimal (24)
- CSV (12)
- File (12)
- Float (12)
-
Gem
:: CommandManager (12) -
Gem
:: DocManager (12) -
Gem
:: GemRunner (12) -
Gem
:: Specification (24) - Integer (12)
-
Logger
:: Application (1) -
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) - Numeric (12)
- OptionParser (48)
- Pathname (12)
-
RDoc
:: Options (12) -
Rake
:: Application (12) - Rational (12)
-
Scanf
:: FormatString (6) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - StringIO (12)
- StringScanner (12)
- Thread (98)
-
Thread
:: Mutex (10) - ThreadGroup (24)
- ThreadsWait (6)
-
WEBrick
:: GenericServer (24)
モジュール
- Kernel (36)
キーワード
- add (12)
-
add
_ runtime _ dependency (12) -
all
_ waits (6) -
backtrace
_ locations (24) -
dry
_ run= (12) - help (12)
- inspect (12)
- install (12)
- list (12)
-
matched
_ size (12) - namespace (12)
- prune (6)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
run
_ rdoc (12) -
run
_ test _ suites (1) -
runtime
_ dependencies (12) - sleep (10)
- start (25)
- status (12)
-
to
_ s (20) - truncate (138)
-
wait
_ writable (12) - wakeup (12)
検索結果
先頭5件
-
Gem
:: CommandManager # run(args) -> () (24202.0) -
引数 args を処理して gem コマンドを実行中のエラーを捕捉します。
...引数 args を処理して gem コマンドを実行中のエラーを捕捉します。
@param args コマンドラインから受け取った引数を指定します。... -
Gem
:: GemRunner # run(args) -> () (21202.0) -
@todo
...@todo
与えられた引数を元にして gem のコマンドを実行します。
@param args コマンドラインから与えられた引数を指定します。... -
MiniTest
:: Unit :: TestCase # run(runner) -> String (21202.0) -
自身に関連付けられているテストを実行します。
...自身に関連付けられているテストを実行します。
MiniTest::Unit::TestCase#setup がサブクラスで再定義されている場合はそれらも実行します。
@param runner テストの実行結果を管理するオブジェクトを指定します。... -
Thread
# run -> self (21144.0) -
停止状態(stop)のスレッドを再開させます。 Thread#wakeup と異なりすぐにスレッドの切り替え を行います。
...ead#wakeup と異なりすぐにスレッドの切り替え
を行います。
@raise ThreadError 死んでいるスレッドに対して実行すると発生します。
//emlist[例][ruby]{
a = Thread.new { puts "a"; Thread.stop; puts "c" }
sleep 0.1 while a.status!='sleep'
puts "Got here"
a.run......a.join
# => a
# => Got here
# => c
//}
@see Thread#wakeup, Thread.stop... -
Rake
:: Application # run (21102.0) -
Rake アプリケーションを実行します。
...Rake アプリケーションを実行します。
このメソッドは以下の 3 ステップを実行します。
* コマンドラインオプションを初期化します。Rake::Application#init
* タスクを定義します。Rake::Application#load_rakefile
* コマンドラインで......指定されたタスクを実行します。Rake::Application#top_level... -
MiniTest
:: Unit # run(args = []) -> Fixnum | nil (18202.0) -
全てのテストを実行するためのメソッドです。
...全てのテストを実行するためのメソッドです。
@param args コマンドライン引数を指定します。... -
Pathname
# truncate(length) -> 0 (15201.0) -
File.truncate(self.to_s, length) と同じです。
...File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
CSV
# truncate(path , length) -> 0 (12301.0) -
File#truncate に委譲します。
...File#truncate に委譲します。
@see File#truncate... -
Integer
# truncate(ndigits = 0) -> Integer | Float (12301.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...lf までの整数で、自身にもっとも近い整数を返します。
@param ndigits 10進数での小数点以下の有効桁数を整数で指定します。
正の整数を指定した場合、Float を返します。
小数点以下を、最大 n 桁にしま......定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1.0
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Shell
# truncate(path , length) -> 0 (12301.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (12301.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # truncate(path , length) -> 0 (12301.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
StringIO
# truncate(len) -> Integer (12231.0) -
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。 拡大した場合は、その部分を 0 で埋めます。 len を返します。
...@param len 変更したいサイズを整数で指定します。
@raise IOError 自身が書き込み可能でない時に発生します。
@raise Errno::EINVAL len がマイナスの時に発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge", 'r+')
a.truncate(2)
a.......string #=> "ho"
a.truncate(5)
a.string #=> "ho\000\000\000"
//}...