最速Rubyリファレンスマニュアル検索!
すべて(6)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
6件ヒット
[1-6件を表示]
(0.158秒)
トップページ
>
:
-
>
:
r
>
:
TRUNC
>
クラス:Shell
別のキーワード
_builtin -
open-uri open
irb/input-method new
irb/input-method gets
matrix -
ライブラリ
shell
(6)
検索結果
先頭1件
Shell
#
truncate(path
,
length) -> 0
Shell
#
truncate(path
,
length) -> 0
(12301.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
インスタンスメソッド
File クラスにある同名のクラスメソッドと同じです.
...
File クラスにある同名のクラスメソッドと同じです.
@pa
r
am path パスを表す文字列を指定します。
@pa
r
am length 変更したいサイズを整数で与えます。
@see File.
trunc
ate
...
File