Ruby documentation examples