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

instance method Pathname#ftype

ftype -> String[permalink][rdoc]

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

[SEE_ALSO] File.ftype