I'm prototyping a script in irb and I'm running into a NoMethod error for '.use' when using the window switching api on tabs. Anything as simple as
b.windows.last.use
b.windows[2].use
Will not be respected and throw aNoMethodError: undefined method 'use' for nil:NilClass
error while the window remains tabbed. If I drag the tab out to a separate window and run the same command it works as expected. Is this a known issue?