4 Commits

Author SHA1 Message Date
Alex Norman
3e2970caac Ruby binding: linklist collect method
added a collect method for freej's linked lists in the ruby binding.
Created an example script which uses this to print out a list of the
installed filters, sorted by name.
2009-06-22 12:49:48 -07:00
Alex Norman
251d788398 Ruby extensions
Created a separate file for ruby redefinitions and extensions of freej
methods.  removed the extensions hard coded into the ruby swig freej
library and instead load this file in that library [with error
checking].  Updated two example scripts to set paths correctly to use
this new setup [to test before installing].
Also included a .each method for Linkedlist
2009-06-22 12:24:34 -07:00
Alex Norman
357750010c added some ruby code into the ruby swig module
this is sort of a hack but it works.. it evaulates a string [which
contains ruby code] using the ruby c api, when the Freej ruby module is
loaded.
Removed this identical code from the ruby test script and cleaned up the
scripts a bit
2009-06-19 15:27:06 -07:00
Alex Norman
ca5a722fcb removing start and start_threaded from Context for the ruby bindings for
now because ruby doesn't support multiple OS threads.
added 2 example ruby scripts
2009-06-19 14:39:27 -07:00