class MyFilter
Public Instance Methods
contains(set, str)
click to toggle source
# File lib/query.rb, line 2 def contains set, str set.to_s.downcase.include?str.downcase # set.any? { |x| x.to_s.downcase == str.downcase} end