CSC/ECE 517 Spring 2020 Refactor assignment.rb

From Expertiza_Wiki
Jump to navigation Jump to search

Abstract

Problem Statement

Assignment.rb is a large file, that has dozens of methods and fields. Some methods seem redundant, and some fields and string literals are repeated multiple times throughout the file. Ie. 'Finished'. Each method in the file is essential and provides different data, so the goal for my team was to rename and merge code where we could, while not affecting the end functionality.

Problem Solution

Process

Refactors

Testing