mirror of
https://github.com/ethauvin/kotlin-pluralizer.git
synced 2025-04-25 08:47: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"
|
"person".pluralize() # => "people"
|
||||||
"post".pluralize() # => "posts"
|
"post".pluralize() # => "posts"
|
||||||
"sheep".pluralize() # => "sheep"
|
"sheep".pluralize() # => "sheep"
|
||||||
|
"foot".pluralize() # => "feet"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Singuralization:**
|
**Singuralization:**
|
||||||
|
@ -20,7 +21,8 @@
|
||||||
```kotlin
|
```kotlin
|
||||||
"words".singularize() # => "word"
|
"words".singularize() # => "word"
|
||||||
"octopi".singularize() # => "octopus"
|
"octopi".singularize() # => "octopus"
|
||||||
|
"people".singularize() # => "person"
|
||||||
|
"feet".singularize() # => "foot"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue