method

clean

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte
clean(string) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/multibyte/utils.rb, line 50
      def self.clean(string)
        if expression = valid_character
          # Splits the string on character boundaries, which are determined based on $KCODE.
          string.split(//).grep(expression).join
        else
          string
        end
      end
Register or log in to add new notes.