るりまサーチ

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

別のキーワード

  1. process setrlimit
  2. process abort
  3. process fork
  4. tracer display_process_id
  5. tracer display_process_id=

クラス

検索結果

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

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

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

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

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

@see File.truncate...