This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
ask_save()
public
Opens a dialog, asking, if changes should be saved to a file.
# File ext/json/lib/json/editor.rb, line 1141
def ask_save
if Editor.question_dialog(self,
"Unsaved changes to JSON model. Save?")
if @filename
file_save
else
file_save_as
end
end
end