Sha256: 11fecb6ca1ee7f0ff0c739c38748664193c3d1d1b04e766f711e9d926c13dd00
Contents?: true
Size: 370 Bytes
Versions: 4
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true require 'fast_ignore' module Leftovers module MatcherBuilders module Path def self.build(path_pattern) return if path_pattern.nil? || path_pattern.empty? Matchers::Path.new( ::FastIgnore.new(include_rules: path_pattern, gitignore: false, root: ::Leftovers.pwd) ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems