Class: Sketchbook

Inherits:
Object
  • Object
show all
Defined in:
lib/jruby_art/config.rb

Overview

This class encapulates knowledge of processing sketchbook structure

Class Method Summary collapse

Class Method Details

.library(name) ⇒ Object



51
52
53
# File 'lib/jruby_art/config.rb', line 51

def self.library(name)
  Dir["#{path}/#{name}/library/\*.jar"]
end

.pathObject



47
48
49
# File 'lib/jruby_art/config.rb', line 47

def self.path
  File.join(Processing::RP_CONFIG['sketchbook_path'], 'libraries')
end