Skip to content

Avoid using {...} for multi-line blocks. #6

@adalbertobrant

Description

@adalbertobrant

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:
image

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

Metadata

Metadata

Labels

agilebestpracticebest practice to coding in ruby.bugSomething isn't workingenhancementNew feature or requesthacktoberfest2021issues for the bigger help the Hacktoberfest 2021ruby

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions