Sha256: 551fedcb30dc8f9883bd60909ddc11879c5bdd0e1d4260012ccb3292f382a161

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.3.0 lib/watir/generator/svg/visitor.rb
watir-7.2.2 lib/watir/generator/svg/visitor.rb
watir-7.2.1 lib/watir/generator/svg/visitor.rb
watir-7.2.0 lib/watir/generator/svg/visitor.rb