From 13f75579bc817fd5c6c1882785c10d2b8555a3f4 Mon Sep 17 00:00:00 2001 From: Faizan Anwar Date: Tue, 27 Aug 2024 19:55:28 +0530 Subject: [PATCH] Fix: Improve readability of comments in solid/open_close.rb --- solid/open_close.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/solid/open_close.rb b/solid/open_close.rb index 35fb492..6017b17 100644 --- a/solid/open_close.rb +++ b/solid/open_close.rb @@ -45,7 +45,10 @@ def parse_cvs # Solution -# With this refactor we’ve made it possible to add new parsers without changing any code. Any additional behavior will only require the addition of a new handler. This makes our FileParser reusable and in many cases will keep us in compliance with the Single Responsibility Principle as well by encouraging us to create smaller more focused classes. +# With this refactor we’ve made it possible to add new parsers without changing any code. +# Any additional behavior will only require the addition of a new handler. This makes our +# FileParser reusable and in many cases will keep us in compliance with the +# Single Responsibility Principle as well by encouraging us to create smaller more focused classes. class FileParser attr_reader :parser