Skip to content

Adv fizzbuzz#2

Open
buckleys78 wants to merge 4 commits intomasterfrom
adv_fizzbuzz
Open

Adv fizzbuzz#2
buckleys78 wants to merge 4 commits intomasterfrom
adv_fizzbuzz

Conversation

@buckleys78
Copy link
Copy Markdown
Owner

updated to handle any number of key/value pairs.

Comment thread FizzBuzzAdv.rb
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Very interesting syntax, nice and compact for the actual method. Your code is fine for this submission, but here's some food for thought: what if the user of this program can't code or doesn't know what a hash is? How can you make this even friendlier for the user? The hash argument sent to the method could get ungodly long also if you have a long list of divisors.

Congrats on delivering a nice function!

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