Class: SlimLint::Matcher::Anything

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

Overview

Will match anything, acting as a wildcard.

Instance Method Summary collapse

Instance Method Details

#match?Boolean

Returns:

  • (Boolean)

See Also:

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


7
8
9
# File 'lib/slim_lint/matcher/anything.rb', line 7

def match?(*)
  true
end