るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.152秒)
トップページ > バージョン:2.4.0[x] > 種類:インスタンスメソッド[x] > クエリ:r[x] > クエリ:run[x] > クラス:Shell::CommandProcessor[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

検索結果

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

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

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

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

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

@see File.truncate