Method: Wiki2Go::GreyList#contains_user?
- Defined in:
- lib/Wiki2Go/GreyList.rb
#contains_user?(user) ⇒ Boolean
70 71 72 73 |
# File 'lib/Wiki2Go/GreyList.rb', line 70 def contains_user?(user) match = @banned.find { |ban| user =~ Regexp.new(ban.user,Regexp::IGNORECASE) } ! match.nil? end |