Yes, I agree. I did use string.include?(sub_string) in one of my other module. I should use it here as well. Will update. Thanks.