Method: Osaka::TypicalApplication#new_document

Defined in:
lib/osaka/typicalapplication.rb

#new_documentObject



92
93
94
95
96
97
# File 'lib/osaka/typicalapplication.rb', line 92

def new_document
  control.set_current_window(do_and_wait_for_new_standard_window {
    control.keystroke("n", :command)
  })
  control.focus
end