Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > shell/command-processorライブラリ > Shell::CommandProcessorクラス > delete

instance method Shell::CommandProcessor#delete

delete(*filename) -> Integer
rm(*filename) -> Integer

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

[PARAM] filename:
ファイル名を表す文字列を指定します。

[SEE_ALSO] File.delete

class Shell::CommandProcessor