class Branchtree::Commands::Edit

Public Instance Methods

execute() click to toggle source
Calls superclass method Branchtree::Commands::Common#execute
# File lib/branchtree/commands/edit.rb, line 11
def execute
  super

  editor = ENV["BRANCHTREE_EDITOR"] || ENV["EDITOR"]
  system "#{editor} #{params[:mapfile]}"
end