https://github.com/movableink/unique_list
A ruby coding assignment
https://github.com/movableink/unique_list
Last synced: 3 months ago
JSON representation
A ruby coding assignment
- Host: GitHub
- URL: https://github.com/movableink/unique_list
- Owner: movableink
- Created: 2016-04-08T14:47:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-08T14:51:42.000Z (about 9 years ago)
- Last Synced: 2025-01-31T13:43:41.374Z (4 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Unique List
Your assignment for this is to get the specs passing by implementing a `UniqueList` class. The specs describe the expected behavior.
An **important** note: You can not use an Array to store the values of the `UniqueList`! Though the `#values` method does return an array, you should **not** be storing the content of the `UniqueList` in an array. You can build an array inside of `#values` to use as a return value, but that is the only Array you should use.
### Running the tests
- Install Bunder `gem install bundler`
- `cd` into the directory where you cloned this repository
- `bundle install`
- `bundle exec rspec unique_list_spec.rb`Tests should run and, at first, all fail!