= private = protected
glob(*args)
See Dir.glob. Returns or yields Pathname objects.
# File lib/pathname.rb, line 932 def Pathname.glob(*args) # :yield: p if block_given? Dir.glob(*args) {|f| yield self.new(f) } else Dir.glob(*args).map {|f| self.new(f) } end end