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 Recipe#in_style? #9

Open
cadwallion opened this issue Apr 6, 2013 · 0 comments
Open

Add Recipe#in_style? #9

cadwallion opened this issue Apr 6, 2013 · 0 comments

Comments

@cadwallion
Copy link
Owner

There is no way to determine currently if a Recipe is in style, other than looking up the Style, comparing the ranges of the various attributes to their values of Recipe, and see if they all evaluate to true. Add an Recipe#in_style? method to handle this for us, and possibly a Recipe#meets_style(Style) option as well.

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

No branches or pull requests

1 participant