Joined February 2012
·
C0f3c10c460bf6bd738fc1cac4ce566b

Matt Bearman

UK
·
·

Posted to Pluralize without the number over 1 year ago

Awesome tip. I was just playing around with this and found that you don't need the number:

'day'.pluralize
=> 'days'

similarly:

'days'.singularize
=> 'day'

Achievements
39 Karma
0 Total ProTip Views