Syntax:
pluralize(count, singular, plural = nil)
How to user use
pluralize(1, 'person') # => 1 person
pluralize(2, 'person') # => 2 people
pluralize(3, 'person', 'users') # => 3 users
pluralize(0, 'person') # => 0 people
pluralize(count, singular, plural = nil)
How to user use
pluralize(1, 'person') # => 1 person
pluralize(2, 'person') # => 2 people
pluralize(3, 'person', 'users') # => 3 users
pluralize(0, 'person') # => 0 people
No comments:
Post a Comment