Ruby solution for the Bowling Kata.
Prerequisites:
$ git clone https://github.com/remarkablemark/bowling.git
$ cd bowling
$ bundle install
Example of rolling and scoring a perfect game:
$ irb
> require_relative './lib/Bowling'
> bowling = Bowling.new
> 12.times { bowling.roll(10) }
> bowling.score
=> 300
> exit
Run unit tests with rspec:
$ bundle exec rspec --format doc
Generate docs with YARD:
$ bundle exec yard doc
$ open docs/index.html
├── Gemfile
├── Gemfile.lock
├── LICENSE
├── README.md
├── lib
│ └── Bowling.rb
└── spec
├── bowling_spec.rb
└── spec_helper.rb