Edits the given content in a tempfile
18 19 20
# File 'lib/exedit/exedit.rb', line 18 def edit(content, editor: nil, command: nil) Editor.new(edit_command(editor, command), content: content).open end