Skip to content

Conversation

@collindonnell
Copy link
Contributor

@collindonnell collindonnell commented Jul 28, 2021

As talked about in #160, it doesn't make a lot of sense to have these forwarding to foo.color, when foo.color.r/g/b/a can be used directly. This (imo) breaks the single responsibility principle, and adds duplication that doesn't need to be there.

  • Removed all of the forwarding attributes.
  • Updated tests and made sure that they all pass.

As talked about in ruby2d#160, it doesn't make a lot of sense to have these forwarding to `foo.color`, when `foo.color.r/g/b/a` can be used directly. This (imo) breaks the single responsibility principle, and adds duplication that doesn't need to be there.

- Removed all of the forwarding attributes.
- Updated tests and made sure that they build.
@blacktm
Copy link
Member

blacktm commented Aug 7, 2021

Thanks for taking the initiative on this @collindonnell! Just updated the branch, fixed conflicts.

@blacktm blacktm merged commit e0bb808 into ruby2d:main Aug 7, 2021
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.

2 participants