Closed iainbeeston closed 8 years ago
Right now there is:
#validator_for
#validator_for_uri
#validator_for_name
#validators_for_names
But in reality all delegate to either #validator_for_uri or #validator_for_name. This is confusing, and obfuscates what's really going on.
I've removed #validators_for_names (which was a private method anyway) and deprecated the alias of #validator_for.
Right now there is:
#validator_for
#validator_for_uri
#validator_for_name
#validators_for_names
But in reality all delegate to either
#validator_for_uri
or#validator_for_name
. This is confusing, and obfuscates what's really going on.I've removed
#validators_for_names
(which was a private method anyway) and deprecated the alias of#validator_for
.