# File lib/standard/facets/pathname.rb, line 222 def include?(pattern,*opts) if directory? glob_first(pattern,*opts) else fnmatch(pattern,*opts) end end