if you would like to make your code look more obscure and less like Ruby you can do this

dos = "Hegllo"

p /el/ === dos    # => false
p /egl/ === dos   # => true

# is the same as

p dos.include?('el')  # => false
p dos.include?('egl') # => true