This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.
clear()
Clear the current model, after asking to save all unsaved changes.
# File ext/json/lib/json/editor.rb, line 1171 def clear ask_save if @changed @filename = nil self.view_new_model nil end