Student Example 1: Refactoring CLI Gem

Permalink

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

Branch: master

Find file Copy path

Find file Copy path

Fetching contributors…

18 lines (10 sloc) 715 Bytes

Raw Blame History

Objectives:

  • Refactoring a gem.

  • Delegating responsibility to the appropriate class.

Video

<iframe width="100%" height="720" src="https://www.youtube.com/embed/JEL_PXr74qQ?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

MP4

Original Code

Refactored Code

Diff

View Refactoring CLI Gem on Learn.co and start learning to code for free.

Last updated