Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Weekly Ruby Quiz
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.rvmrc
Gemfile
Gemfile.lock
README
quiz.rb

README

This week's quiz is to locate all of the Fridays the 13th within an arbitrary
date range. Chris Johnson suggests that bonus points be awarded for calculating
the average time difference between successive Fridays the 13th. There are any
number of other statistics that could be derived (e.g., avg number of Fridays
the 13th per year) if you feel up to it.


To run the quiz:

$ bundle install

$ rspec quiz.rb
Something went wrong with that request. Please try again.