module Dishwasher::DeleteForks
Public Class Methods
confirmation_message()
click to toggle source
Confirmation message that the repos were removed
@return [string] forks deleted message
# File lib/dishwasher/delete_forks.rb, line 23 def confirmation_message title_message("Forks Deleted") end
delete(selections)
click to toggle source
Loop to delete the selected forked repos
@return [string] confirmation_message
# File lib/dishwasher/delete_forks.rb, line 10 def delete(selections) title_message("Deleting Forks") selections.each do |s| Dishwasher::Github.delete_repo(s) end confirmation_message end