module Leftovers::MatcherBuilders::Path
Public Class Methods
build(path_pattern)
click to toggle source
# File lib/leftovers/matcher_builders/path.rb, line 8 def self.build(path_pattern) return if path_pattern.nil? || path_pattern.empty? ::FastIgnore.new(include_rules: path_pattern, gitignore: false, root: Leftovers.pwd) end