Use Buffer to simplify example
Updated instructions for ruby 1.8