Wednesday, May 12, 2010

Garlic Chicken and Potatoes

ingredients = {
  :chicken => (3..4).pieces,
  :potatoes => 3..4,
  :carrots => 2..3,
  
  :butter => 2.tbsp,
  :olive_oil => 2.tbsp,
  :parsley => 1.tbsp,
  :rosemary => 1.tbsp,
  :basil => 1.tsp,
  :garlic => 2.cloves,
  :salt and :pepper => you.decide
}

oven.set_heat 350.F

casserole_dish << :foil

(carrots and potatoes).peel if you.want?
(carrots and potatoes).chop

casserole_dish << :carrots << :potatoes << :chicken

ingredients[:butter].melt
garlic.press or garlic.chop

bowl << :butter << :oil << :parsley << :rosemary << :garlic << :basil << :salt << :pepper
bowl.contents.mix

bowl.contents.pour :over => casserole_dish.contents

oven << casserole_dish

you.wait 45.minutes

oven.remove casserole_dish

while not casserole_dish.contents.cooked?
  oven << casserole_dish
  you.wait
end

oven.set_heat :off

you.eat

Tuesday, May 11, 2010

Spinach Omelette

ingredients = {
  :eggs => 2,
  :spinach => 2.tbsps,
  :milk => 2.tbsps
}

extras = {
  :grated_cheese => 0.25.cups,
  :onion => 3.tbsps,
  :green_onion => 3.tbsp,
  :tabasco => (1/8).tsp,
  :peppers => 3.tbsp
}

pan.element.set_heat :medium

bowl << :eggs << :spinach << :milk << extras

bowl.contents.mix

pan << bowl.contents

you.wait until pan.contents.mostly_cooked?

spatula.move :around => :edge_of_pan

pan.contents.flip!

you.wait until pan.contents.cooked?

pan.element.set_heat :off

you.eat

Monday, April 19, 2010

Mac and Cheese

ingredients = {
:macaroni => 3.cups,
:milk => 2.cups,
:flour => 0.25.cups,
:salt => 0.75.tsp,
:garlic_powder => 0.75.tsp,
:grated_cheese => 1.cup
}

# first the mac
pot << :water
pot.element.set_heat :high

you.wait until water.boiling?

pot << :macaroni

you.stir pot.contents

# now the cheese
small_pot << :milk << :flour << :garlic_powder << :salt

you.stir small_pot.contents, :with => :whisk

small_pot.element.set_heat :medium_low

you.stir small_pot.contents until small_pot.contents.thick?

small_pot.element.set_heat :off
small_pot << :cheese
you.stir until cheese.melted?

# now mix the two

you.wait until pot.contents.cooked?

pot.contents.strain

pot << small_pot.contents

you.stir pot.contents

you.eat

Saturday, April 10, 2010

Refried Black Beans

ingredients = {
:cooked_black_beans => 3.cups,
:olive_oil => 3.tbsp,
:garlic => 2.cloves
}

you.chop :garlic

pan << :oil
pan.set_heat :medium

you.wait 30.seconds

pan << :garlic

you.wait 1.minute, :stirring => :occasionally

pan << :beans

until beans.mashed?
pan.contents.stir
pan.contents.mash :with => :back_of_spoon

pan << :oil if necessary?
end

you.eat

Friday, April 9, 2010

Paté Chinois

This is a variant of the shepherd's pie recipe I posted a while back, courtesy of Julie:
require 'mashed_potatoes'

ingredients = {
:mashed_potatoes => 1.recipe, # do this exactly like in the other recipe
:ground_beef => 0.5.pounds,
:corn => 1.cup
:salt => you.decide
:pepper => you.decide
}

pan << :ground_beef, :salt, :pepper
pan.element.set_heat :medium

class Meat
def cooked?
not self.red?
end
end

until meat.cooked?
you.stir :occasionally, :with => :wooden_spoon
end

casserole_dish << :meat_mixture
casserole_dish << :corn
you.spread :corn, :evenly
casserole_dish << :mashed_potatoes
you.spread :mashed_potatoes, :evenly

oven.turn_on 350
oven << casserole_dish
you.wait 25.minutes

you.eat

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.

Saturday, March 6, 2010

Apple Banana Smoothie

require 'food_processor' or 'blender'

ingredients = {
:banana => 1,
:apple => 1,
:milk => (2..4).cups,
:cinnamon => you.decide
}

banana.slice
apple.slice

if you.have? :blender
blender << :apple << :banana << :milk << :cinnamon
blender.blend
else
tall_plastic_dish << :apple << :banana << :milk << :cinnamon
food_processor.stir until tall_plastic_dish.contents.smooth?
end

you.eat
makes 2.servings