https://github.com/grodowski/tdd_stack_demo
A Demo App for TDD workshops: a Stack implementation - test driven with rspec
https://github.com/grodowski/tdd_stack_demo
Last synced: 2 months ago
JSON representation
A Demo App for TDD workshops: a Stack implementation - test driven with rspec
- Host: GitHub
- URL: https://github.com/grodowski/tdd_stack_demo
- Owner: grodowski
- Created: 2014-12-01T17:49:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-17T18:00:57.000Z (about 11 years ago)
- Last Synced: 2025-06-28T06:43:26.564Z (7 months ago)
- Language: Ruby
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Stack
==============
Create a Stack class that supports the following public interface:
0. Stack#size returns the stack size,
1. Stack#push(element) adds an arbitrary object to the stack and increases the stack size by 1,
2. Stack#pop removes the top element of the stack and decreases the size.