class Remove
Public Instance Methods
remove_presentation()
click to toggle source
# File lib/commands/remove.rb, line 14 def remove_presentation presentation @name do |master,client| if @yes.nil? @yes = yes? "do you really want to delete #{File.basename(master)}?(y,N)" end if @yes FileUtils.rm_rf master FileUtils.rm_rf client end end alter_link(@name) do | link | link.parent.remove end end