#best-practices
Read more stories on Hashnode
Articles with this tag
What is Delegate Delegate by the document, which refers to a class method used to easily expose contained objects' public methods as your own. Simply,...
Use ‘each’ instead of ‘for’ for elem in [1, 2, 3, 4, 5] puts elem end [1, 2, 3, 4, 5].each { |elem| puts elem } Use ‘Case/when’ conditions instead...