Method: JSON::Editor::FileMenu#open

Defined in:
lib/json/editor.rb

#open(item) ⇒ Object

Open a file and load it into the editor. Ask to save the JSON document first, if unsaved changes have occured.



465
466
467
# File 'lib/json/editor.rb', line 465

def open(item)
  window.file_open
end