Index
Symbols
||= operator, 257
A
Account class, 129
Introduce Parameter Object refactoring, 322-324
Move Field refactoring, 174-175
Move Method refactoring, 170-172
Remove Setting Method refactoring, 325-326
Replace Error Code with Exception refactoring, 334-335
AccountNumberCapture module, 360-362
ActiveDeal class, 403
add_charge method, 322-323
add_course method, 223
add_customer method, 213
add_front_suspension method, 247
add_option method, 117
add_order method, 213
Add Parameter
overview, 300
step-by-step description, 301-302
when to use, 300-301
add_rear_suspension method, 247
adjusted_capital method, 278-279
advantages of refactoring
easier-to-understand software, 55-56
faster programming, 56-57
improved software design, 54-55
why refactoring ...
Get Refactoring: Ruby Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.