sds/slim-lint

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

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module SlimLint::Matcher
  # Will match anything, acting as a wildcard.
  class Anything < Base
    # @see {SlimLint::Matcher::Base#match?}
    def match?(*)
      true
    end
  end
end