Adauth icon indicating copy to clipboard operation
Adauth copied to clipboard

Add respond_to? Method for ADObject

Open jekhokie opened this issue 10 years ago • 1 comments

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).

jekhokie avatar Sep 17 '15 10:09 jekhokie

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.

jekhokie avatar Sep 17 '15 10:09 jekhokie