Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > shell/filterライブラリ > Shell::Filterクラス > ftype

instance method Shell::Filter#ftype

ftype(filename) -> String

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

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

[SEE_ALSO] File.ftype

class Shell::Filter