Adjust docs, add Ruby code, so gem has combination pure Ruby, C