Adauth
Adauth copied to clipboard
Add respond_to? Method for ADObject
Add a corresponding respond_to? method for the ADObject in order to ensure that checks calling respond_to? utilize the actual fields (as most methods will not exist due to the lookup being on the symbols rather than the methods).
Hi @Arcath,
Sorry about this but I forgot to commit and include the corresponding respond_to? method for https://github.com/Arcath/Adauth/pull/58. This commit includes the respond_to? method, which will save the lookup from failing every time due to the actual object not having an instance method corresponding to the symbols contained within it.