Sha256: 9128e4d929738efd18638732a4d76658abc50ce6e0f75ddd9b9610c675becc6f
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
require 'psych' # The Processing module is a wrapper for JRubyArt # Author:: Martin Prout (extends / re-implements ruby-processing) module Processing unless defined? RP_CONFIG begin CONFIG_FILE_PATH = File.expand_path('~/.jruby_art/config.yml') File.open(CONFIG_FILE_PATH, 'r') do |yaml| RP_CONFIG = Psych.load(yaml) end rescue warn('WARNING: you need to set PROCESSING_ROOT in ~/.jruby_art/config.yml') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jruby_art-0.2.4.pre | lib/jruby_art/config.rb |
jruby_art-0.2.3.pre | lib/jruby_art/config.rb |