/ruby-store

A pure ruby Kata based on the structure of a gem project

Primary LanguageRuby

Store

A gem like application that shows OO principles & the TDD approach.

Steps to install

  • clone the repo
  • go to the project root directory
  • bundle install
  • bundle exec rspec to check all is working ok

How it works

Open your terminal/shell go to the project root directory and type bundle exec bin/store An example of execution:

antonio$ bundle exec bin/store
Great! Your store is now oppend. Type any key to start

Avaiable commands are
'scan CODE' to scan
'total' to calculate the total
'exit' to close the app


Now you scan products
scan PT
Product PT scanned
total
Total: 5.0
Bye!