Class Index [+]

Quicksearch

ActiveLdap::Schema::Syntaxes::PrintableString

Private Instance Methods

validate_normalized_value(value, original_value) click to toggle source
     # File lib/active_ldap/schema/syntaxes.rb, line 392
392:         def validate_normalized_value(value, original_value)
393:           if value.blank?
394:             return _("empty string")
395:           end
396: 
397:           if /(#{UNPRINTABLE_CHARACTER})/ =~ value
398:             format = _("%s has unprintable character: '%s'")
399:             return format % [original_value.inspect, $1]
400:           end
401: 
402:           nil
403:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.