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

Add acronym support #19

Open
hut8 opened this issue Mar 12, 2017 · 1 comment
Open

Add acronym support #19

hut8 opened this issue Mar 12, 2017 · 1 comment

Comments

@hut8
Copy link

hut8 commented Mar 12, 2017

Hey there. Thanks for this awesome library.

The Rails inflector supports user-defined acronyms, so that http_client could be transformed into HTTPClient (for example). See https://github.com/rails/rails/blob/f2489f493b794ee83a86e746b6240031acb8994e/activesupport/lib/active_support/inflector/inflections.rb#L78 for details.

I may have time in the near future to implement this. Would you accept a PR if I did?

@nbubna
Copy link
Owner

nbubna commented Mar 12, 2017

Oooh, that is a fascinating idea. Of course, i can guarantee i'd take the PR without seeing it, but i'm definitely open to it. It's a case situation i've run into myself.

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

No branches or pull requests

2 participants