Sha256: f7c3532483d1d94e50a07d779048d836dac05e40da8f21f4caf294dc6ffb3266

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module Watir
  module Generator
    class HTML
      class Visitor < Base::Visitor
        def classify_regexp
          /^HTML(.+)Element$/
        end

        private

        def interface_regexp
          /^HTML/
        end

        def force_inheritance
          {'HTMLElement' => 'Element'}
        end
      end # Visitor
    end # HTML
  end # Generator
end # Watir

Version data entries

4 entries across 4 versions & 1 rubygems

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