October 2009
Intermediate to advanced
288 pages
5h 2m
English
Imagine your team or department uses a tool to track the hours spent on client projects so that your company can invoice correctly at the end of each month.[1] The tool is a Ruby script offering a simple command-line interface; it’s used like this (the last argument is always a project name, and -u selects a user):
[1] The source code for this example is at http://github.com/kevinrutherford/rrwb-code.

Here is the script itself:

The script also has a few end-to-end tests:
Notice that the script stores the record ...
Read now
Unlock full access