るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.015秒)
トップページ > バージョン:2.6.0[x] > クエリ:truncate[x] > クラス:Shell[x]

別のキーワード

  1. _builtin truncate
  2. bigdecimal truncate
  3. csv truncate
  4. file truncate
  5. stringio truncate

ライブラリ

検索結果

Shell#truncate(path, length) -> 0 (54325.0)

File クラスにある同名のクラスメソッドと同じです.

File クラスにある同名のクラスメソッドと同じです.

@param path パスを表す文字列を指定します。

@param length 変更したいサイズを整数で与えます。

@see File.truncate