Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > ftype
ftype
File.ftype(self.to_s) と同じです。 (cf. File.ftype)