Avoid using {...}
for multi-line blocks.
#6
Labels
agile
bestpractice
best practice to coding in ruby.
bug
Something isn't working
enhancement
New feature or request
hacktoberfest2021
issues for the bigger help the Hacktoberfest 2021
ruby
Hello My friends.
Filename: acoes.rb
This issue is a bit more complex, so if you have some expertise with Ruby Language this issue is for you.
In the code, it has been made with {....}, but my friend DeepSource a nice girl, told me that is not a best practice and suggested that I have to change the code for something like that:
So, as the pictures are showing we need to change and make a better practices in the code.
That is your task, to point where is the problem and make the necessary correction, test if the code is still working, and do the nice pull request.
Thanks a lot for your help, and God Bless You.
Happy Hacktoberfest 2021
The text was updated successfully, but these errors were encountered: