Better exception handling. More consistent handling of return values. Updated documentation.
The attached patch updates files in comedilib/swig/ruby. lib/comedi.rb is updated to raise Ruby exceptions as indicated by the comedilib API documentation. README and demo/cmd are updated accordingly.
the Makefiles a bit to integrate it properly