README.rdoc in libvirt-ruby-0.0.4 vs README.rdoc in libvirt-ruby-0.0.5

- old
+ new

@@ -10,11 +10,17 @@ This gem has as a dependencie the libvirt package. Google it and u will find how to install it on your distro. == Usage -You should one of the classes defined and call method dispatcher passing parameters: +You should use one of the classes defined and call the method directly: + Libvirt::Ruby::Connect.Close([:int]) + +The parameter of the function should be an array where the last instance is the return of the C function. + + +The old method dispatcher still can be called, but is now deprecated. Call dispatcher passing as parameters: first -> the method just like the one from Libvirt in C as a string except the vir and the name of the Class just like 'Close' from 'virConnectClose' second -> the args of the function in C in the same order third -> a symbol of the retun of the function. == Experimental @@ -28,13 +34,12 @@ == Future Add Support for a ton of thigs. =D Improve a lot of things: - * Use method missing and deprecate dispatcher. - * Find a way to make the test suit pass without the lib. By now it only works if u have it installed. + * Remove all classes and make gem wotk without them. Using Just one class: Libvirt::Ruby * Create more Exceptions for another type of errors. - * Create pages on Wiki teaching how to isntall libvirt on each distro. + * Create pages on Wiki teaching how to install libvirt on several distros. ... == Contribute Fork the project and send me a Pull Request. =D \ No newline at end of file