Alphabet Checker Method in Ruby
In this guide you will be writing a method that will tell you wether each letter of the alphabet is used in a sentence.
Guide Tasks
- Read Tutorial
- Complete the Exercise
Summary
Build a method that will check and see if every letter in the alphabet is in a sentence.
Exercise Description
"Define a method using the has_all_letters that will tell you if every letter of the alphabet is in a sentence."
Example Data
'alphabet = "abcdefghijklmnopqrstuvwxyz"' -> expect(has_all_letters?(alphabet)).to eq(true)
Real World Usage
This exercise will help you put strings together and identify the contents of it.