Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > ftype

instance method Pathname#ftype

ftype

File.ftype(self.to_s) と同じです。 (cf. File.ftype)