Class: Branchtree::Commands::Edit
- Defined in:
- lib/branchtree/commands/edit.rb
Instance Method Summary collapse
Methods inherited from Common
#load_situation, #load_tree, #pluralize
Methods included from Branchtree::Context
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 |
# File 'lib/branchtree/commands/edit.rb', line 11 def execute super editor = ENV["BRANCHTREE_EDITOR"] || ENV["EDITOR"] system "#{editor} #{params[:mapfile]}" end |