Method: Path#fnmatch?
- Defined in:
- lib/path/file_predicates.rb
#fnmatch?(pattern, *args) ⇒ Boolean
Return true if the receiver matches the given pattern. See File.fnmatch?.
148 149 150 |
# File 'lib/path/file_predicates.rb', line 148 def fnmatch?(pattern, *args) File.fnmatch?(pattern, @path, *args) end |