Just a note: Ruby standard is to use two spaces for indentation instead of tab characters.