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.
# File ext/json/lib/json/editor.rb, line 490
def new(item)
window.clear
end