Skip to content

Add respond_to? Method for ADObject#59

Open
jekhokie wants to merge 1 commit into
Arcath:masterfrom
jekhokie:master
Open

Add respond_to? Method for ADObject#59
jekhokie wants to merge 1 commit into
Arcath:masterfrom
jekhokie:master

Conversation

@jekhokie

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown
Contributor Author

Hi @Arcath,

Sorry about this but I forgot to commit and include the corresponding respond_to? method for #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant