module Axe

The purpose of this class is to support private helpers for argument parsing without leaking the helper methods into the cucumber World object. Further, using these helper methods for assert/refute removes the dependency on rspec. So end users may choose to use any (or non) assertion/expectation library, as this class uses the Axe Accessibility Matcher directly, without using a matcher/expectation library DSL.

Public Class Methods

configure() { |instance| ... } click to toggle source
# File lib/axe.rb, line 4
def self.configure
  yield Configuration.instance if block_given?
end