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

instance method Pathname#fnmatch

fnmatch(pattern, *args)

File.fnmatch(pattern, self.to_s, *args)と同じです。 (cf. File.fnmatch)