method

new

ruby latest stable - Class: JSON::Editor::FileMenu

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

new(item)
public

Clear the model and filename, but ask to save the JSON document, if unsaved changes have occured.