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

corrected readme #12

Merged
merged 2 commits into from
May 9, 2014
Merged

corrected readme #12

merged 2 commits into from
May 9, 2014

Conversation

chrissie1
Copy link
Collaborator

somehow this got missed in the previous PR because of the merge with the upstream.

@chrissie1
Copy link
Collaborator Author

I'm sorry BTW.

@@ -205,6 +205,9 @@ Gives the plural of a certain word.

```kotlin
"test".pluralize() => "tests"

"test".pluralize(Plurality.CouldBeEither) => "tests"
Copy link
Owner

Choose a reason for hiding this comment

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

Do I really have to specify this? Is there not a notion of optional params?

Also I'm removing Plurality in Humanizer V2 and replacing it with a bool argument. More info here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The plurality is optional. And named.and defaults to Singular for pluralize and Plural to singularize. "test".pluralize() still exists.

Copy link
Owner

Choose a reason for hiding this comment

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

Cool.

MehdiK added a commit that referenced this pull request May 9, 2014
@MehdiK MehdiK merged commit c507bb4 into MehdiK:master May 9, 2014
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