Flowdock
method

tokenize

Importance_0
Ruby on Rails latest stable (v4.1.8) - 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.