lib/watir/generator/svg/visitor.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Watir
  module Generator
    class SVG
      class Visitor < Base::Visitor
        def classify_regexp
          /^SVG(.+)Element$/
        end

        private

        def interface_regexp
          /^SVG.*Element$/
        end

        def force_inheritance
          {'SVGElement' => 'HTMLElement'}
        end
      end # Visitor
    end # SVG
  end # Generator
end # Watir