# File lib/plugins/update_editor.rb, line 14 def self.input_editor file = Tempfile.new('termtter') editor = config.plugins.update_editor.editor if config.plugins.update_editor.add_completion file.puts "\n"*100 + "__END__\n" + public_storage[:users].to_a.join(' ') end file.close system("#{editor} #{file.path}") result = file.open.read file.close(false) result end