Class: SlimLint::Matcher::Nothing

Inherits:
Base
  • Object
show all
Defined in:
lib/slim_lint/matcher/nothing.rb

Overview

Does not match anything.

This is used in specs.

Instance Method Summary collapse

Instance Method Details

#match?Boolean

Returns:

  • (Boolean)

See Also:

  • SlimLint::Matcher::Nothing.{SlimLint{SlimLint::Matcher{SlimLint::Matcher::Base{SlimLint::Matcher::Base#match?}


9
10
11
# File 'lib/slim_lint/matcher/nothing.rb', line 9

def match?(*)
  false
end