openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
R
Refactoring-Ruby-Edition
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
1 day
ago. based on code collected
1 day
ago.
Jan 17, 2025 — Jan 17, 2026
Showing page 1 of 1
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Page 49: Replacing the Conditional Logic on Price Code with Polymorphism (remove custom price_code setter and change the callers to pass instance of the type themselves)
Chap Ambrose
More...
about 16 years ago
Page 47: Replacing the Conditional Logic on Price Code with Polymorphism (moving frequent_renter_points to Price classes, added module for DefaultPrice and included in RegularPrice and ChildrensPrice)
Chap Ambrose
More...
about 16 years ago
Page 45: Replacing the Conditional Logic on Price Code with Polymorphism (added NewReleasePrice.charge and ChildrensPrice.charge and changed Movie.charge to simply delegate to these)
Chap Ambrose
More...
about 16 years ago
Page 43: Replacing the Conditional Logic on Price Code with Polymorphism (added RegularPrice.charge and implemented in Movie.charge)
Chap Ambrose
More...
about 16 years ago
Page 41: Replacing the Conditional Logic on Price Code with Polymorphism (set Movie.price to an instance of the appropriate type class)
Chap Ambrose
More...
about 16 years ago
Page 39: Replacing the Conditional Logic on Price Code with Polymorphism (adding new classes for pricing)
Chap Ambrose
More...
about 16 years ago
Page 39: Replacing the Conditional Logic on Price Code with Polymorphism (use a custom setter method on Movie.price_code)
Chap Ambrose
More...
about 16 years ago
Page 35: Replacing the Conditional Logic on Price Code with Polymorphism (move Rental.frequent_renter_points to Movie.frequent_renter_points)
Chap Ambrose
More...
about 16 years ago
Page 33: Replacing the Conditional Logic on Price Code with Polymorphism (move the Rental.charge method to Movie.charge)
Chap Ambrose
More...
about 16 years ago
Page 30: Decomposing and Redistributing the Statement Method (added Customer.html_statement and corresponding test)
Chap Ambrose
More...
about 16 years ago
Page 27: Decomposing and Redistributing the Statement Method (removed frequent_renter_points temp counter from Customer.statement to Customer.total_frequent_renter_points)
Chap Ambrose
More...
about 16 years ago
Page 25: Decomposing and Redistributing the Statement Method (shortened Customer.total_charge method using Collection Closure Method and inject)
Chap Ambrose
More...
about 16 years ago
Page 23: Decomposing and Redistributing the Statement Method (removing total_amount temp counter from Customer.statement method to Customer.total_charge)
Chap Ambrose
More...
about 16 years ago
Page 19: Decomposing and Redistributing the Statement Method (moving frequent_renter_points calculation from Customer.statement to Rental.frequent_renter_points)
Chap Ambrose
More...
about 16 years ago
Page 17: Decomposing and Redistributing the Statement Method (eliminate this_amount temporary variable in Customer.statement, use element.charge query instead)
Chap Ambrose
More...
about 16 years ago
Page 15: Decomposing and Redistributing the Statement Method (change the exisiting reference to Customer.amount_for to Rental.charge)
Chap Ambrose
More...
about 16 years ago
Page 13: Decomposing and Redistributing the Statement Method (moving the Customer.amount_for(rental) method to Rental.charge)
Chap Ambrose
More...
about 16 years ago
Page 11: Decomposing and Redistributing the Statement Method (renaming variables in the amount_for method)
Chap Ambrose
More...
about 16 years ago
Page 9: Decomposing and Redistributing the Statement Method
Chap Ambrose
More...
about 16 years ago
Page 6: The First Step in Refactoring
Chap Ambrose
More...
about 16 years ago
Page 4: The Starting Point
Chap Ambrose
More...
about 16 years ago
use textile formatting for readme
Chap Ambrose
More...
about 16 years ago
Readme
Chap Ambrose
More...
about 16 years ago
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree