added ruby bindings