Skip to content

Instantly share code, notes, and snippets.

@thijsc
Forked from matsimitsu/gist:295997
Created February 5, 2010 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save thijsc/296000 to your computer and use it in GitHub Desktop.
Save thijsc/296000 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