Class: Watir::Generator::Base
- Inherits:
-
Object
- Object
- Watir::Generator::Base
- Defined in:
- lib/watir-webdriver/generator/base/generator.rb
Direct Known Subclasses
Defined Under Namespace
Classes: IDLSorter, SpecExtractor
Instance Method Summary collapse
Instance Method Details
#generate(spec_url, io = StringIO.new) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/watir-webdriver/generator/base/generator.rb', line 5 def generate(spec_url, io = StringIO.new) @spec_url, @io = spec_url, io extract_spec cleanup_spec write_header write_class_defs write_container_methods io end |