instance method
Pathname#fnmatch?
(::String pattern, ?::Integer flags) -> bool
fnmatch?(pattern, ...)
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 929
def fnmatch?(pattern, ...) File.fnmatch?(pattern, @path, ...) end
See File.fnmatch? (same as fnmatch).