Modular Child Windows with Glade and Visual Ruby

I’m currently writing a little RSA encoding program for school, and I
seem to be having trouble calling up a child window. The error is in the
second class, the show_window() method in the second class. The method
works just fine in the first class, but when I run it and then hit the
button that should trigger the second window, I get this error:
show_window': undefined method show_all’ for nil:NilClass
I am very stuck and help is appreciated. The full code and program can
be found on github here;
GitHub - lazer-rash/briggs-is-cool: he really is Thank you all in


You must have renamed the top window in glade. The top window must
always be named the default “window1”