Flowdock
method

tokenize

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveModel::Validations::LengthValidator
tokenize(value) private

No documentation

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

Hide source
# File activemodel/lib/active_model/validations/length.rb, line 63
      def tokenize(value)
        if options[:tokenizer] && value.kind_of?(String)
          options[:tokenizer].call(value)
        end || value
      end
Register or log in to add new notes.