Method: Eo.delete

Defined in:
lib/eo/eo.rb

.delete(args, opt = {}) ⇒ Object



68
69
70
71
72
73
74
75
# File 'lib/eo/eo.rb', line 68

def delete(args,opt={})
  repos = pick(:key => args,:plural => true)

  repos.each do |x|
    puts "\e[32m Deleting #{Repos[x]._name_}:\e[0m"
    Repos[x].delete
  end
end