Showing posts with label bread. Show all posts
Showing posts with label bread. Show all posts

Friday, April 2, 2010

Pancakes

It seems like every pancake recipe on the Internet either gets the pancakes way too dry or way too wet, and you end up with crappy pancakes. This recipe makes them nice, light and fluffy.
ingredients = {
:flour => 1.cup,
:baking_powder => 3.tbsp,
:salt => 0.5.tsp,
:brown_sugar => 3.tbsp,

:egg => 1,
:milk => 1.25.cups,
(:vegetable_oil or :canola_oil) => 3.tbsp,
:vanilla => 0.25.tsp
}

bowl << :flour << :baking_powder << :salt << :brown_sugar

bowl.contents.mix!

bowl << :egg << :milk << :oil << :vanilla

bowl.contents.mix!

until bowl.empty?
until pan.full?
pan << bowl.remove :pancake_sized_piece
end

you.wait until pan.contents.cooked?

pan.contents.each do |pancake|
pancake.flip!
end

you.wait until pan.contents.cooked?

plate << pan.contents
end

you.eat :with => (:maple_syrup or :fruit or :yogurt or you.choose)
Also if anybody is interested in submitting a recipe, feel free. They can be in whatever language you like, we don't need to restrict them all to Ruby! The only restriction is that they have to be in a programming language.

Thursday, February 18, 2010

Gozleme

require 'mashed_potatoes'
require 'basic_dough'

ingredients = {
:mashed_potatoes => 1.recipe,
:basic_dough => 1.recipe,
:onion => 0.5..1,
:olive_oil => 2.tbsp,
:cayenne => 1.tsp,
:celery => 1.stick,
:cheese => 1.cup,

:coarse_salt => you.decide,
:pepper => you.decide,
(:butter or :margarine) => :as_needed
}

def make_filling
you.chop :onions, :celery

pan.element.set_heat :medium
pan << :olive_oil << :onions << :celery << :cayenne

if onions.brown?
pan.element.set_heat :low
pan << :cheese << :mashed_potatoes << :pepper
end
end

def prepare_dough
dough_balls = basic_dough.form :into => :balls, :radius => 3.cm

dough_balls.each do |ball|
ball.flatten! :thickness => 5.mm
ball << :filling
ball.fold :over => :filling
you.pinch ball.edges
you.sprinkle :salt, :onto => ball
end
end

def cook
pan2.element.set_heat :medium
dough_balls.each do |ball|
pan2 << :butter
you.wait 10.seconds

pan2 << ball
you.wait 2.minutes

ball.flip
you.wait 2.minutes

pan2.remove ball
end
end

make_filling
prepare_dough
cook

you.eat

Saturday, February 13, 2010

Basic Dough

This recipe is not really intended to be eaten on its own (although you can if you like) but used for more advanced recipes.
servings = 1  # change this to the amount of dough you want

ingredients = {
:white_flour => servings * 1.cup,
:water => servings * (0.5).cups,
:salt => servings * (0.5).tsp
}

bowl << :white_flour << :salt
bowl.contents.mix

while bowl.water.amount < ingredients[:water]
bowl.add :water, :slowly
bowl.contents.stir
end

bowl.cover :with => :towel
you.wait 15.minutes


Recipes that build off this:
Gozleme