Sha256: f2e0b309c33a0e031cec12bf8470f2ae637dbdf935a8ce464d905cf7498ab623
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
require 'capybara/accessible/auditor' module Capybara::Accessible module Extensions module Driver def self.wrap(underlying_driver) Class.new(underlying_driver) do include Extensions::Driver def self.name "Capybara::Accessible::Extensions::Driver(wrap: #{underlying_driver}" end class << self alias_method :inspect, :name alias_method :to_s, :name end end end attr_accessor :accessible def visit(path) super Auditor.new(self).audit! end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara-accessible-0.3.0 | lib/capybara/accessible/extensions/driver.rb |