exercism.io

https://github.com/exercism/exercism.io

Ruby

Quickly ramp up in new programming languages.

Flipper::Gates::PercentageOfActors#open?

Override to consider only the actor value (GitHub username), not the feature
name, to provide a consistent control group across features, rather than a
different 50% for each feature.

Original: https://git.io/vSkAP

Source | Google | Stack overflow

Edit

git clone [email protected]:exercism/exercism.io.git

cd exercism.io

open lib/monkey_patches/flipper/gates/percentage_of_actors.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Flipper--Gates--PercentageOfActors-open--for-pr


# Commit to git

git add lib/monkey_patches/flipper/gates/percentage_of_actors.rbgit commit -m "better docs for Flipper::Gates::PercentageOfActors#open?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Flipper--Gates--PercentageOfActors-open--for-pr

hub pull-request


# Celebrate!