るりまサーチ (Ruby 2.1.0)

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

別のキーワード

  1. _builtin to_proc
  2. _builtin proc
  3. proc curry
  4. httpserver mount_proc
  5. readline completion_proc

クラス

検索結果

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

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

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

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

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

@see File.truncate