mirror of
https://github.com/ethauvin/kotlin-pluralizer.git
synced 2025-04-25 00:37:12 -07:00
added more samples
This commit is contained in:
parent
ca927135f3
commit
acf66ae704
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
"person".pluralize() # => "people"
|
||||
"post".pluralize() # => "posts"
|
||||
"sheep".pluralize() # => "sheep"
|
||||
"foot".pluralize() # => "feet"
|
||||
```
|
||||
|
||||
**Singuralization:**
|
||||
|
@ -20,7 +21,8 @@
|
|||
```kotlin
|
||||
"words".singularize() # => "word"
|
||||
"octopi".singularize() # => "octopus"
|
||||
|
||||
"people".singularize() # => "person"
|
||||
"feet".singularize() # => "foot"
|
||||
```
|
||||
|
||||
## Install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue