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(,url) if url =~ /(:\/\/[^\/:]+)/ then url = $1 end url = escape_regex(url) @banned = @banned.reject { |suspect| suspect.user == && suspect.url == url } end |