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.
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.