No Console Window

AI is a ‘thing’ unto itself. Maybe take a look at these examples to get started:

SketchUp/sketchup-ruby-api-tutorials: SketchUp Ruby API Tutorials and Examples

And the MultiFile template:

[Template] Multi-File, Multi-Class with SharedConstants Mixin - Developers / Ruby API - SketchUp Community