ruby simple example from testerstories.com