method

fnmatch?

v1_9_3_125 - Show latest stable - Class: Pathname
fnmatch?(p1, p2 = v2)
public

See File.fnmatch. Return true if the receiver matches the given pattern.