-
Notifications
You must be signed in to change notification settings - Fork 9
Loading Libraries
Martin Prout edited this page Feb 23, 2015
·
15 revisions
Like ruby-processing, there is a load_library utility, that can be used to load processing libraries or pure ruby libraries (or a mixture thereof when java libraries are called by the ruby library). Libraries need to have unique names and are called in this order:-
-
local ruby library
library/grammar.rbcalled usingload_library :grammar -
local java library
library/video/{jars}one or more jars including those inlibsub-folder -
installed java library
{libraries}/library/video/{jars}one or more jars including those inlibsub-folder. In this caselibrariesdefaults to~/.jruby_art/librariesbut could be configured in `~/.jruby_art/config.yml to point to wherever vanilla processing libraries are stored.