method

fnmatch

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

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