Skip to content

Conversation

@nmack41
Copy link

@nmack41 nmack41 commented Sep 5, 2023

Nick's GemCity Tech's FizzBuzz challenge submission.

"Buzz"
elsif input % 3 == 0
"Fizz"
else input
Copy link
Member

Choose a reason for hiding this comment

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

We put the body of the else clause on its own line.

Suggested change
else input
else
input
if var.check?
  the_truthy_thing
else
  the_falsey_thing
end

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