Refactoring Ruby

Task

Do Refactoring Ruby

code

private. Please refer to the GitHub repository of the class.

What i learned

--Refactoring is "changing the contents without changing the behavior" --In refactoring, change the program little by little. That way, if you make a mistake, you can easily find the bug. --Refactoring techniques include "extracting methods," "moving methods," and "from type code to State/Strategy."


Recommended Posts

Refactoring Ruby
Refactoring Ruby
Refactoring Ruby
Ruby learning 4
[Ruby] Array
Ruby basics
Ruby Review 2
Ruby addition
Ruby learning 3
Ruby setting 2
Ruby problem ⑦
Ruby learning 2
[Ruby] Block
ruby calculator
Ruby learning 6
Ruby settings 1
[Note] [Beginner] Ruby writing memo (refactoring) 1
Ruby basics
Ruby memo
Ruby learning 1
Ruby Review 1
[Ruby] Module
Introduction to Ruby 2
Ruby input / output
ruby Uppercase letters
ruby search problem
ruby constant variable
Ruby to_s method
[Ruby] postfix if
[Ruby] FizzBuzz problem
Ruby basic terms
ruby exception handling
Ruby Learning # 13 Arrays
About Ruby symbols
Ruby Learning # 1 Introduction
Ruby Learning # 34 Modules
[ruby] drill output
I started Ruby
[Ruby] Iterative processing
ruby API problem
Ruby vertical writing
About ruby ​​form
[ruby] drill output
About Ruby Hashes
Ruby setting 3 Rubocop
Ruby Learning # 14 Hashes
[ruby] drill output
[Ruby] Arithmetic progression
Ruby Hash notes
Class in Ruby
[Ruby] end_with? method
[Ruby] Method memorandum
Chart type Ruby
[Ruby] Hash retrieval
Basics of Ruby
[ruby] drill output
Ruby exception handling
Refactoring with scope
[ruby] Double hash
Ruby Learning # 33 Inheritance
About Ruby inheritance