design-patterns-in-ruby
design-patterns-in-ruby copied to clipboard
Added chain of responsibility pattern
Hi @davidgf , I thought would be better if we have a chain of responsibility pattern also in this list. I know it's not a part of ruby design patterns. However, I have found out while solving one problem. Would appreciate if you add this in the list so it might be helpful to other devs when they are stuck with a similar problem.
You can read more about the pattern here - https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern https://refactoring.guru/design-patterns/chain-of-responsibility/ruby/example
@davidgf It's been quite long. May I get the review on this PR?