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 Types.Contract #324

Closed
flash-gordon opened this issue May 12, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@flash-gordon
Copy link
Member

commented May 12, 2019

This will check if an object responds to specific methods. Checking arity is too hard to implement correctly in ruby so we'll only rely on the new predicate in dry-logic.
Note: bump dry-logic version, bump dry-logic dep
Discussion with more info: https://discourse.dry-rb.org/t/support-for-type-classes/759

@waiting-for-dev

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

@flash-gordon I submitted PR #323 with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.