Module: Stormbreaker::AxeMatcherAuditor

Defined in:
lib/stormbreaker/axe_matcher_auditor.rb

Instance Method Summary collapse

Instance Method Details

#matches?(page) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
9
10
11
12
# File 'lib/stormbreaker/axe_matcher_auditor.rb', line 6

def matches?(page)
  audit(page)
  # Since we want to compile our failures here rather than failing after the first violation,
  #  we'll return true each time instead of returning `audit.passed?` and retrieve the results
  #  to compile from audit
  true
end