A program that will let the user know if a word is anagram or an antigram.
- Clone repo
- Make new branch
- Add changes
- Push to public repo
- Ruby 2.2.2
-
Program will check if words are anagrams
- Input: 'ruby', 'bury'
- Output: true
-
Program will check if words are antigrams
- Input: 'hi', 'bye'
- Output: 'is Antigram'
-
Program will account for different letter casing
- Input: 'Tea', 'Eat'
- Output: tea, eat
-
Program will account for different word lengths
- Input: 'Teas', 'eat'
- Output: 'These words are different lengths'
-
Program will remove punctuation and other special characters
- Input: 'Ru,By!', 'Bu9ry.'
- Output: 'RuBy', 'Bury'
-
Program will check if both words have vowels
- Input: 'ruby', 'bvry'
- Output: false
-
Program will check if phrases are anagrams
- Input: 'O, DRACONIAN DEVIL', 'LEONARDO DA VINCI'
- Output: True
-
Program will check if phrases are Antigrams
- Input: 'jumpy brick', 'glent vozhd'
- Output: 'is Antigram'
This software is licensed under the MIT license.
Copyright (c)2018 Nate Cottle