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
Monday, April 19, 2010
Mac and Cheese
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 = {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.
: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)
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
Tuesday, March 2, 2010
Kimchi Fried Rice
require 'kimchi'
require 'white_rice'
ingredients = {
:white_rice => 1.recipe(2.people),
:kimchi => (5..7).pieces,
:onion => 0.25,
:eggs => 2,
(:olive_oil or :peanut_oil) => 2.tbsp,
:sesame_seeds => 1.tsp
}
you.chop :onion
pan << :oil << :onion
pan.element.set_heat :medium
you.wait until onion.soft?
pan << :kimchi << :sesame_seeds
you.wait 3.minutes
pan << :rice
you.stir pan.contents
pan << :eggs
you.stir pan.contents
you.wait until egg.cooked?
you.eat
Monday, March 1, 2010
Kimchi
ingredients = {
# most grocery stores carry this, it looks like a cabbage but longer
:napa_cabbage => 1,
:garlic => 1.piece,
:ginger => 1.tbsp,
:hot_chili_flakes => 1.tbsp,
:coarse_salt => 1.tbsp,
:water => 4.cups,
# you can add other veggies too, as you like:
:green_onion => 2.tbsp,
:carrots => 1,
:cucumber => 1
}
you.wash :napa_cabbage
you.cut :napa_cabbage, :into => 4.pieces
napa_cabbage.pieces.each do |piece|
piece.remove_core
piece.separate_into_leaves
end
begin
# try to intersperse the cabbage leaves and salt
big_bowl << :napa_cabbage << :coarse_salt
big_bowl << :water
ensure
big_bowl.water_level > big_bowl.napa_cabbage
end
fridge << big_bowl
you.wait 1.day
big_bowl.drain
you.rinse big_bowl.contents
you.chop :garlic, :ginger, :other_veggies
big_bowl << :garlic << :ginger << :hot_chili_flakes << :other_veggies
you.mix big_bowl.contents
jar.clean
big_bowl.contents.each do |piece|
jar << piece
jar.pack
end
jar << big_bowl.drain
jar.seal
dark_room_temperature_place << jar
you.wait 2.days
you.eat
fridge << jar
Subscribe to:
Posts (Atom)
