15 Jul 2021   ruby


Ruby String has a #start_with? variadic method:

"hello".start_with?("heaven", /hell/)
=> true

h/t Mary

🍄