# File lib/active_ldap/schema/syntaxes.rb, line 61 61: def validate_normalized_value(value, original_value) 62: if /\A'/ !~ value 63: return _("%s doesn't have the first \"'\"") % original_value.inspect 64: end 65: 66: if /'B\z/ !~ value 67: return _("%s doesn't have the last \"'B\"") % original_value.inspect 68: end 69: 70: if /([^01])/ =~ value[1..3] 71: return _("%s has invalid character '%s'") % [value.inspect, $1] 72: end 73: 74: nil 75: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.