class Pluralizr::InvalidStringError

A TypeError meant to inform users when the object passed into the Pluralizr.pluralize method doesn’t begin with a letter. For example, words like 32numbersfirst and .specialcharactersfirst

Public Class Methods

new(msg="string must begin with a letter") click to toggle source
Calls superclass method
# File lib/pluralizr/exceptions.rb, line 16
def initialize(msg="string must begin with a letter")
  super
end