Class Index [+]

Quicksearch

ActiveLdap::Schema::Syntaxes::PostalAddress

Private Instance Methods

validate_normalized_value(value, original_value) click to toggle source
     # File lib/active_ldap/schema/syntaxes.rb, line 373
373:         def validate_normalized_value(value, original_value)
374:           if value.blank?
375:             return _("empty string")
376:           end
377: 
378:           begin
379:             value.unpack("U*")
380:           rescue ArgumentError
381:             return _("%s has invalid UTF-8 character") % original_value.inspect
382:           end
383: 
384:           nil
385:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.