class Pathname

Public Instance Methods

glob(pattern) click to toggle source
# File lib/whatthegem/core_ext.rb, line 17
def glob(pattern) # exists in Ruby 2.5, but not in backports
  Dir.glob(self./(pattern).to_s).map(&Pathname.method(:new))
end