| Class | ActiveModel::Validations::LengthValidator |
| In: |
lib/active_model/validations/length.rb
|
| Parent: | EachValidator |
| MESSAGES | = | { :is => :wrong_length, :minimum => :too_short, :maximum => :too_long }.freeze |
| CHECKS | = | { :is => :==, :minimum => :>=, :maximum => :<= }.freeze |
| DEFAULT_TOKENIZER | = | lambda { |value| value.split(//) } |
| RESERVED_OPTIONS | = | [:minimum, :maximum, :within, :is, :tokenizer, :too_short, :too_long] |