るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file truncate
  4. file umask
  5. file path

ライブラリ

検索結果

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

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

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

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

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

@see File.truncate