From: Christopher Davidson Date: 2009-12-09T02:30:58+09:00 Subject: Example Ruby Code Can anybody explain how this code actually works in simple terms if possible :). def animals yield "Tiger" yield "Giraffe" end animals { |x| puts "Hello, #{x}" } -- Posted via http://www.ruby-forum.com/.