I’ve previously highlighted the geekery that is using pseudo-code for non code related activities (in my case an IM insult) and just though I’d share this lovely example from Null is Love:

piper = Baby.new(:name => 'Piper',
                 :born => '2008-06-09 18:22:00 EDT',
                 :weight => {:lbs => 6, :oz => 8},
                 :length => {:inches => 21.25})

skoglunds.children << piper

piper.daily do |p|
  8.times do
    p.eat
    p.poop
    p.sleep
  end
end