fixing ostruct for ruby 1.9
fixing the documentation