method

clean

clean(string)
public

Removes all invalid characters from the string.

Note: this method is a no-op in Ruby 1.9