Class Index [+]

Quicksearch

ActiveLdap::Schema::Syntaxes::CountryString

Private Instance Methods

validate_normalized_value(value, original_value) click to toggle source
     # File lib/active_ldap/schema/syntaxes.rb, line 117
117:         def validate_normalized_value(value, original_value)
118:           if /\A#{PRINTABLE_CHARACTER}{2,2}\z/ =~ value
119:             nil
120:           else
121:             format = _("%s should be just 2 printable characters")
122:             format % original_value.inspect
123:           end
124:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.