Skip to content

Conversation

@jas14
Copy link
Collaborator

@jas14 jas14 commented Sep 14, 2024

Closes #252.

Ruby 3.2.0 introduced the Data construct, which looks a lot like an object to this project, but uses #members instead of instance variables.

The solution is to introduce an object inspection tree builder and operation tree builder that are essentially the same as the corresponding builders for default objects, but know to read the members of the Data class instead of instance variables.

@jas14 jas14 merged commit 2d06e39 into main Sep 14, 2024
@jas14 jas14 deleted the data-class-handling branch September 14, 2024 06:03
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.

Output for data class expectations is worse than stock RSpec

1 participant