Skip to content

delbetu/refactoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Refactoring Exercises

Exercises of refactoring in Ruby.

Movies exercise

The problem is prsented in Martin Fowler's Refactoring book. It is a program to calculate and print a statement of a customer's charges at a video store. The program is told which movies a customer rented and for how long. It calculates the charges, which depend on how long the movie is rented, and identifies the type of movie. There are three kinds of movies: regular, children's, and new releases. In addition to calculating charges, the statement also computes frequent renter points, which vary depending on whether the film is a new release.

About

Exercises of refactoring in Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages