Module: Dishwasher::DeleteForks
- Extended by:
- MessageFormatter
- Defined in:
- lib/dishwasher/delete_forks.rb
Class Method Summary collapse
-
.confirmation_message ⇒ string
Confirmation message that the repos were removed.
-
.delete(selections) ⇒ string
Loop to delete the selected forked repos.
Methods included from MessageFormatter
abort_message, body_message, title_message
Class Method Details
.confirmation_message ⇒ string
Confirmation message that the repos were removed
23 24 25 |
# File 'lib/dishwasher/delete_forks.rb', line 23 def ("Forks Deleted") end |
.delete(selections) ⇒ string
Loop to delete the selected forked repos
10 11 12 13 14 15 16 |
# File 'lib/dishwasher/delete_forks.rb', line 10 def delete(selections) ("Deleting Forks") selections.each do |s| Dishwasher::Github.delete_repo(s) end end |