418件ヒット
[1-100件を表示]
(0.197秒)
ライブラリ
- ビルトイン (142)
- bigdecimal (22)
- csv (11)
- logger (1)
-
minitest
/ unit (3) - optparse (44)
- pathname (11)
- rake (22)
-
rubygems
/ command _ manager (11) -
rubygems
/ doc _ manager (11) -
rubygems
/ gem _ runner (11) -
rubygems
/ specification (22) - scanf (6)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - stringio (11)
- strscan (11)
- thwait (6)
- un (22)
-
webrick
/ server (22)
クラス
- BigDecimal (22)
- CSV (11)
- File (11)
- Float (11)
-
Gem
:: CommandManager (11) -
Gem
:: DocManager (11) -
Gem
:: GemRunner (11) -
Gem
:: Specification (22) - Integer (11)
-
Logger
:: Application (1) -
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) - Numeric (11)
- OptionParser (44)
- Pathname (11)
-
RDoc
:: Options (11) -
Rake
:: Application (11) - Rational (11)
-
Scanf
:: FormatString (6) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - StringIO (11)
- StringScanner (11)
- Thread (78)
-
Thread
:: Mutex (9) - ThreadsWait (6)
-
WEBrick
:: GenericServer (22)
モジュール
- Kernel (33)
キーワード
-
add
_ runtime _ dependency (11) -
all
_ waits (6) -
backtrace
_ locations (22) -
dry
_ run= (11) - help (11)
- inspect (11)
- install (11)
-
matched
_ size (11) - namespace (11)
- prune (6)
-
report
_ on _ exception (8) -
report
_ on _ exception= (8) -
run
_ rdoc (11) -
run
_ test _ suites (1) -
runtime
_ dependencies (11) - sleep (9)
- start (23)
- status (11)
-
to
_ s (18) - truncate (128)
-
wait
_ writable (11)
検索結果
先頭5件
-
Gem
:: CommandManager # run(args) -> () (30302.0) -
引数 args を処理して gem コマンドを実行中のエラーを捕捉します。
...引数 args を処理して gem コマンドを実行中のエラーを捕捉します。
@param args コマンドラインから受け取った引数を指定します。... -
MiniTest
:: Unit :: TestCase # run(runner) -> String (30302.0) -
自身に関連付けられているテストを実行します。
...自身に関連付けられているテストを実行します。
MiniTest::Unit::TestCase#setup がサブクラスで再定義されている場合はそれらも実行します。
@param runner テストの実行結果を管理するオブジェクトを指定します。... -
Gem
:: GemRunner # run(args) -> () (27302.0) -
@todo
...@todo
与えられた引数を元にして gem のコマンドを実行します。
@param args コマンドラインから与えられた引数を指定します。... -
MiniTest
:: Unit # run(args = []) -> Fixnum | nil (27302.0) -
全てのテストを実行するためのメソッドです。
...全てのテストを実行するためのメソッドです。
@param args コマンドライン引数を指定します。... -
Thread
# run -> self (27244.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 (27202.0) -
Rake アプリケーションを実行します。
...Rake アプリケーションを実行します。
このメソッドは以下の 3 ステップを実行します。
* コマンドラインオプションを初期化します。Rake::Application#init
* タスクを定義します。Rake::Application#load_rakefile
* コマンドラインで......指定されたタスクを実行します。Rake::Application#top_level... -
Pathname
# truncate(length) -> 0 (21301.0) -
File.truncate(self.to_s, length) と同じです。
...File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Integer
# truncate(ndigits = 0) -> Integer | Float (18413.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...す。
@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... -
CSV
# truncate(path , length) -> 0 (18401.0) -
File#truncate に委譲します。
...File#truncate に委譲します。
@see File#truncate... -
Shell
# truncate(path , length) -> 0 (18401.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (18401.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # truncate(path , length) -> 0 (18401.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
BigDecimal
# truncate -> Integer (18350.0) -
小数点以下の数を切り捨てて整数にします。
...aram n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り捨てます
(小数点以下を、最大 n 桁にします)。
n......が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDecimal("15.23456").truncate(-1).to_f # => 10.0
//}...