lib/webconsole/lib/window.rb in webconsole-0.1.17 vs lib/webconsole/lib/window.rb in webconsole-0.1.18

- old
+ new

@@ -57,12 +57,15 @@ CLOSEWINDOW_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "close_window.scpt") def close WebConsole::run_applescript(CLOSEWINDOW_SCRIPT, [window_id]) end - SPLIT_ID_IN_WINDOW_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "split_id_in_window.scpt") def split_id return WebConsole::split_id_in_window(window_id) + end + + def split_id_last + return WebConsole::split_id_in_window_last(window_id) end private def run_script(script, arguments = [])