It's easy to use C++ code in Ruby extensions, but you still need to
know some C++ and you should look out for some gotchas.

You may want to look at some past posts about this:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/100255

Google for "ruby c++ extensions" to get an idea of what you are up
against - it seems that C++ is a bit harder than straight C.

Les