reject! will be better here

master
Robert Gerus 2014-03-25 07:21:49 +01:00
parent 823ed51161
commit 838f03a574
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Repost
end
def unregister_command(keyword)
self.commands.delete_if { |item| item[:keyword] == keyword }
self.commands.reject! { |item| item[:keyword] == keyword }
end
# just a stub for now