# File lib/json/editor.rb, line 1132 1132: def ask_save 1133: if Editor.question_dialog(self, 1134: "Unsaved changes to JSON model. Save?") 1135: if @filename 1136: file_save 1137: else 1138: file_save_as 1139: end 1140: end 1141: end