takaoueda / my-deja.com wrote:
>I have just started learning Ruby with the book of Thomas and Hunt. The
>book is readable, but sample code is often an incomplete program.  So I
>am filling the gaps for exercises.  I concocted the following program
>for pp 31-32 by trial and error.  Will someone give a better solution to
>this cross-word puzzle?  I had to change the local variables checking
>and savings to instance variables @checking and @savings.
>
>class Account
>  attr_reader :balance
>  attr_accessor :balance

This is redundant. attr_accessor creates both 
read and write getter/setters. You can kill your 
attr_reader line.

The rest looked good to me.

Kevin