Class: LiquidLint::Matcher::Nothing

Inherits:
Base
  • Object
show all
Defined in:
lib/liquid_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:

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


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

def match?(*)
  false
end