-
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.rb
called usingload_library :grammar
-
local java library
library/video/{jars}
one or more jars including those inlib
sub-folder -
installed java library
{libraries}/library/video/{jars}
one or more jars including those inlib
sub-folder. In this caselibraries
defaults to~/.jruby_art/libraries
but could be set in `~/.jruby_art/config.yml to point to where vanilla processing libraries are stored.