sds/slim-lint

View on GitHub
lib/slim_lint/matcher/nothing.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module SlimLint::Matcher
  # Does not match anything.
  #
  # This is used in specs.
  class Nothing < Base
    # @see {SlimLint::Matcher::Base#match?}
    def match?(*)
      false
    end
  end
end