class Quadtone::Tools::Edit

Public Instance Methods

run() click to toggle source
# File lib/quadtone/tools/edit.rb, line 7
def run
  editor = ENV['EDITOR'] or raise "Can't determine editor"
  system(editor,
    '--wait',
    @profile.qtr_profile_path.to_s)
  @profile = Profile.load(@profile.name)
  @profile.check
  @profile.save
  @profile.show
end