项目作者: codemargaret

项目描述 :
A Ruby program that compares two words to see if they are anagrams or antigrams (Epicodus Ruby Week 1 Code Review)
高级语言: Ruby
项目地址: git://github.com/codemargaret/anagrams.git
创建时间: 2017-09-08T17:52:15Z
项目社区:https://github.com/codemargaret/anagrams

开源协议:

下载


Anagrams and Antigrams

A program that compares two words to see if they are anagrams or antigrams, 12.16.2017

By Margaret Berry

Description

The program checks how many letters two words have in common. If the words have all of the same letters, they are anagrams, and if they have no letters in common, they are antigrams. Originally created 9.8.2017, refactored on 12.16.2017.

Project Goals

  • Create a custom class.
  • Use instance variables.
  • Write understandable logic.
  • Complete testing coverage.

Specifications

Spec Input Output
Checks whether or not two words are anagrams ruby, bury These words are anagrams.
Checks whether or not two words are palindromes bat, tab These words are palindromes.
Checks whether or not two words are “antigrams” hi, bye These words have no letter matches and are antigrams.

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd anagrams
  3. $ ruby app.rb

Known Bugs

There are no known bugs at this time.

Support and contact details

If you have questions, comments, or concerns, please contact codeberry1@gmail.com">Margaret. Feel free to make a contribution to the code.

Technologies Used

  • Ruby

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry