Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias Bullet.enable? to enabled?, and Bullet.enable= to enabled= #667

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

amatsuda
Copy link
Contributor

@amatsuda amatsuda commented Sep 7, 2023

Perhaps a silly nitpick, but to me Bullet.enabled? reads a little bit more natural over currently provided Bullet.enable?, so I just made an alias in order to provide both APIs. Plus, added Bullet.enabled= alias for consistency.

Also, if it's acceptable, I'm happy to update the generator and documents to encourage the use of enabled.

@flyerhzm flyerhzm merged commit 1a71e5a into flyerhzm:main Sep 7, 2023
8 of 9 checks passed
@jasonkarns
Copy link

@amatsuda love this! in fact, I had enabled in our bullet.yml seeing this already merged, but didn't realize it wasn't released yet. but thank you, definitely like enabled: true in our yaml better.

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.

None yet

3 participants