Method: Wiki2Go::GreyList#remove

Defined in:
lib/Wiki2Go/GreyList.rb

#remove(author, url) ⇒ Object



89
90
91
92
93
94
95
# File 'lib/Wiki2Go/GreyList.rb', line 89

def remove(author,url)
  if url =~ /(:\/\/[^\/:]+)/ then
    url = $1
  end
  url = escape_regex(url)
  @banned = @banned.reject { |suspect| suspect.user == author && suspect.url == url }
end