class Rouge::Guessers::Disambiguation::Disambiguator

def decide!(guesser)

def decide!(guesser)
  out = guesser.instance_eval(&@decider)
  case out
  when Array then out
  when nil then nil
  else [out]
  end
end

def initialize(patterns, &decider)

def initialize(patterns, &decider)
  @patterns = patterns
  @decider = decider
end

def match?(filename)

def match?(filename)
  @patterns.any? { |p| test_glob(p, filename) }
end