Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some inspect methods for generated classes and modules #4341

Merged
merged 1 commit into from
May 28, 2020
Merged

Conversation

no-reply
Copy link
Contributor

follow up for #4340;

classes and modules generated using the Class/Module builder pattern will
regularly look like #<Class:0x00005579fb5a39b0>:0x00005579fb5a3a00> or #Module:0x0000561be6a7f618. adding an #inspect` makes them easier to
understand at-a-glance.

https://dejimata.com/2017/5/20/the-ruby-module-builder-pattern#note-8

@samvera/hyrax-code-reviewers

follow up for #4340;

classes and modules generated using the Class/Module builder pattern will
regularly look like `#<Class:0x00005579fb5a39b0>:0x00005579fb5a3a00>` or  `
`#<Module:0x0000561be6a7f618>`. adding an `#inspect` makes them easier to
understand at-a-glance.

https://dejimata.com/2017/5/20/the-ruby-module-builder-pattern#note-8
Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 This is a definite improvement!

@jeremyf jeremyf merged commit 8f2924b into master May 28, 2020
@jeremyf jeremyf deleted the inspect branch May 28, 2020 01:26
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.

3 participants