module Glob

Constants

VERSION

Public Class Methods

filter(target, paths = ["*"]) click to toggle source
# File lib/glob.rb, line 10
def self.filter(target, paths = ["*"])
  glob = new(target)
  paths.each {|path| glob.filter(path) }
  glob.to_h
end
new(target) click to toggle source
# File lib/glob.rb, line 16
def self.new(target)
  Query.new(target)
end