Skip to content

Comments

Completed the challenge#45

Open
chutch1994 wants to merge 3 commits intopaircolumbus:masterfrom
chutch1994:new_branch
Open

Completed the challenge#45
chutch1994 wants to merge 3 commits intopaircolumbus:masterfrom
chutch1994:new_branch

Conversation

@chutch1994
Copy link

lib/tree.rb Outdated
@height += rand(1..10)
else
# Produce a random number for apples
for i in 0..rand(0..5)
Copy link
Member

Choose a reason for hiding this comment

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

rand(5).times { add_apples }

@chutch1994
Copy link
Author

Sorry, still trying to get vim to indent correctly.

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