708件ヒット
[201-300件を表示]
(0.074秒)
ライブラリ
- ビルトイン (194)
- bigdecimal (24)
- csv (12)
- erb (12)
- logger (1)
-
minitest
/ unit (3) - mkmf (24)
- optparse (48)
- pathname (12)
- rake (36)
-
rubygems
/ command _ manager (12) -
rubygems
/ doc _ manager (12) -
rubygems
/ gem _ runner (12) -
rubygems
/ server (12) -
rubygems
/ specification (24) - scanf (6)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - stringio (12)
- strscan (12)
- thwait (6)
- un (156)
-
webrick
/ server (36)
クラス
- BigDecimal (24)
- CSV (12)
- ERB (12)
- File (12)
- Float (12)
-
Gem
:: CommandManager (12) -
Gem
:: DocManager (12) -
Gem
:: GemRunner (12) -
Gem
:: Server (12) -
Gem
:: Specification (24) - Integer (12)
-
Logger
:: Application (1) -
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) - Mutex (2)
- Numeric (12)
- OptionParser (48)
- Pathname (12)
-
RDoc
:: Options (24) -
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 (36)
モジュール
- Kernel (204)
キーワード
- add (12)
-
add
_ runtime _ dependency (12) -
all
_ waits (6) -
backtrace
_ locations (24) - chmod (12)
- cp (12)
- desc (12)
-
dry
_ run (12) -
dry
_ run= (12) - help (24)
- httpd (12)
- inspect (12)
- install (12)
- list (12)
- ln (12)
-
matched
_ size (12) - mkdir (12)
- mkmf (12)
- mv (12)
- namespace (12)
- prune (6)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - rm (12)
- rmdir (12)
-
run
_ rdoc (12) -
run
_ test _ suites (1) -
runtime
_ dependencies (12) - sleep (12)
- start (25)
- status (12)
-
to
_ s (20) - touch (12)
- truncate (138)
-
try
_ run (24) -
wait
_ writable (12) - wakeup (12)
検索結果
先頭5件
-
Gem
:: Specification # runtime _ dependencies -> Array (6101.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Integer
# truncate(ndigits = 0) -> Integer (6101.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...します。
負の整数を指定した場合、小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Integer
# truncate(ndigits = 0) -> Integer | Float (6101.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1.0
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Numeric
# truncate -> Integer (6101.0) -
0 から 自身までの整数で、自身にもっとも近い整数を返します。
...0 から 自身までの整数で、自身にもっとも近い整数を返します。
//emlist[例][ruby]{
1.truncate #=> 1
1.2.truncate #=> 1
(-1.2).truncate #=> -1
(-1.5).truncate #=> -1
//}
@see Numeric#ceil, Numeric#floor, Numeric#round... -
Pathname
# truncate(length) -> 0 (6101.0) -
File.truncate(self.to_s, length) と同じです。
...File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Scanf
:: FormatString # prune(n=matched _ count) (6101.0) -
@todo
@todo -
Shell
# truncate(path , length) -> 0 (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # truncate(path , length) -> 0 (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
StringIO
# truncate(len) -> Integer (6101.0) -
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。 拡大した場合は、その部分を 0 で埋めます。 len を返します。
...でない時に発生します。
@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"
//}... -
Float
# truncate -> Integer (3101.0) -
小数点以下を切り捨てて値を整数に変換します。
...小数点以下を切り捨てて値を整数に変換します。
//emlist[例][ruby]{
2.8.truncate # => 2
(-2.8).truncate # => -2
//}
@see Numeric#round, Numeric#ceil, Numeric#floor... -
Float
# truncate(ndigits = 0) -> Integer | Float (3101.0) -
小数点以下を切り捨てて値を整数に変換します。
...す。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[例][ruby]{
2.8.truncate # => 2
(-2.8).truncate # => -2
1.234567.truncate(2) # => 1.23
34567.89.truncate(-2) # => 34500
//}
@see Numeric#round, Numeric#ceil, Numeric#floor... -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (3101.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
...この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の...