class Pluralizr::InvalidTypeError
A TypeError meant to inform users when the object passed into the Pluralizr.pluralize
method isn’t a String
. For example, integers, boolean values, arrays, etc.
Public Class Methods
new(msg="argument must be a String")
click to toggle source
Calls superclass method
# File lib/pluralizr/exceptions.rb, line 7 def initialize(msg="argument must be a String") super end