Does anyone able to suggest: how can I write a wrapper of  C++-library 
that works with XBase-files for Ruby?

I mean XBase library http://sourceforge.net/projects/xdb/

TIA

Nicolay Vasiliev