Skip to content

Comments

done#99

Open
1guzzy wants to merge 1 commit intopaircolumbus:masterfrom
1guzzy:gmiller
Open

done#99
1guzzy wants to merge 1 commit intopaircolumbus:masterfrom
1guzzy:gmiller

Conversation

@1guzzy
Copy link

@1guzzy 1guzzy commented May 10, 2019

No description provided.


#Implement your code here <<<<<<<<<

if input == input.upcase then
Copy link
Member

Choose a reason for hiding this comment

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

then is optional in Ruby and typically unused. (It might be true that it is always unused.)


if input == input.upcase then
if input == "BYE" then
@bye_counter = @bye_counter + 1
Copy link
Member

Choose a reason for hiding this comment

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

@bye_counter += 1 is the shorthand way of expressing this.

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