るりまサーチ

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

別のキーワード

  1. _builtin length
  2. csv length
  3. dbm length
  4. set length
  5. rss length

ライブラリ

検索結果

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

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

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

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

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

@see File.truncate...