Fixed issue #20 - ruby export.