Skip to content

Conversation

@chenthehero
Copy link

No description provided.


end
if integer >= 90
return "A"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome stuff, few quick things.

  1. In Ruby you do not need an explicit return it will return the last evaluated line of code in the block.

  2. Sometimes conditionals can grow pretty quick and get ugly, what would be your next steps to refactor this logic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants