mehlah/refactoring-example — pull request #2 by mehlah (2012-12-27 17:28:50+00:00)
Title: Move amount calculation to Rental class

`amountFor` uses information from the rental, but does not use information from the customer.
The method is on the wrong object.
In most cases a method should be on the object whose data it uses, thus the method should be moved to the rental. To do this we use **Move Method**.

I also renamed the method as I did the move.