# File lib/json/editor.rb, line 1141 1141: def ask_save 1142: if Editor.question_dialog(self, 1143: "Unsaved changes to JSON model. Save?") 1144: if @filename 1145: file_save 1146: else 1147: file_save_as 1148: end 1149: end 1150: end