Chain of responsibility pattern in Ruby on Rails
While we were working on a project we stumbled upon some legacy code that consists of huge ‘if else’ statements. In this post we’ll show you how we refactored it using the Chain of responsibility pattern. Chain of responsibility pattern in Ruby on Rails
Post a comment