るりまサーチ (Ruby 2.6.0)

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

別のキーワード

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

クラス

検索結果

Shell::CommandProcessor#truncate(path, length) -> 0 (54328.0)

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

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

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

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

@see File.truncate