lib/twitter_ebooks/bot.rb
def blacklisted?(username)
      if @blacklist.map(&:downcase).include?(username.downcase)
        true
      else
        false
      end
    end
# Check if a username is blacklisted
# @param username [String]
# @return [Boolean]
Check if a username is blacklisted
Check if a username is blacklisted
def blacklisted?(username)
      if @blacklist.map(&:downcase).include?(username.downcase)
        true
      else
        false
      end
    end
def blacklisted? ( username ) if @blacklist . map ( & :downcase ) . include? ( username . downcase ) true else false end end
Check if a username is blacklisted
Check if a username is blacklisted
None
Boolean
username
None