Skip to content Skip to footer

All Posts

The Chain of Responsibility Pattern in Ruby
Chain of Responsibility Pattern in Ruby The chain of responsibility pattern is used to process varied requests, each of which may be handled by a different handler. A handler is responsible for completing a request, but they can delegate that responsibility to other handlers, making it a chain of responsibility. Benefits and drawbacks There are many benefits to…