Skip to content

Instantly share code, notes, and snippets.

@jeffkreeftmeijer
Forked from thijsc/gist:296000
Created February 5, 2010 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffkreeftmeijer/296004 to your computer and use it in GitHub Desktop.
Save jeffkreeftmeijer/296004 to your computer and use it in GitHub Desktop.
class Tosti
def self.validate(*ingredients, preparation_method)
ingredients.include?(:brood) && ingredients.length > 1 && preparation_method == :grill
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment