I did add it as a String extension (config/initializers).  We could localize it more to just this class, but does it matter?  I doubt there is any important different as to where it goes from a performance standpoint.