Sha256: 48a7b49c907b6f0b53a07c08fcd42292fddc1423bfb4b2255ef4f8a6e4466ae0

Contents?: true

Size: 231 Bytes

Versions: 28

Compression:

Stored size: 231 Bytes

Contents

# 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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
slim_lint-0.20.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.20.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.19.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.18.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.17.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.17.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.16.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.16.0 lib/slim_lint/matcher/nothing.rb