Sha256: 63c3f3a2ed159487aa036eee87c9224c9bb538fd0da5c1887e1f7d5835995447

Contents?: true

Size: 200 Bytes

Versions: 20

Compression:

Stored size: 200 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

Version Path
slim_lint-0.15.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.15.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.14.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.13.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.12.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.11.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.10.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.9.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.8.3 lib/slim_lint/matcher/nothing.rb
slim_lint-0.8.2 lib/slim_lint/matcher/nothing.rb
slim_lint-0.8.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.8.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.7.2 lib/slim_lint/matcher/nothing.rb
slim_lint-0.7.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.7.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.6.1 lib/slim_lint/matcher/nothing.rb
slim_lint-0.6.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.5.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.4.0 lib/slim_lint/matcher/nothing.rb
slim_lint-0.3.0 lib/slim_lint/matcher/nothing.rb