examples/modmailer/modmail.rb in snoo-0.1.1 vs examples/modmailer/modmail.rb in snoo-0.1.2

- old
+ new

@@ -144,9 +144,10 @@ mods.each do |mod| f.puts "// * #{mod}" end end editor_name = ENV['EDITOR'] + raise "Unknown Editor" unless editor_name system "#{editor_name} #{blocking_flag_for_editor(true, editor_name)} #{start_line_syntax_for_editor(editor_name, modmessage_path, 4)}" message['message'] = File.read(modmessage_path) end raise "Empty message" unless message['message'].size > 0