Sha256: fd89e93aa04c246cecc1709ba68d8b512adda7e47d416c800eae808ca7ff78d0

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

module ConfCtl
  module Pattern
    # @param pattern [String]
    # @param name [String]
    def self.match?(pattern, name)
      File.fnmatch?(pattern, name, File::FNM_EXTGLOB)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
confctl-2.0.0 lib/confctl/pattern.rb
confctl-1.0.0 lib/confctl/pattern.rb