Sha256: 7193722ec5d949413f6d7fa04d46756b520635288612de5dca102773a8a0ed33

Contents?: true

Size: 353 Bytes

Versions: 11

Compression:

Stored size: 353 Bytes

Contents

require 'yaml'

# The wrapper module
module Processing
  unless defined? RP_CONFIG
    config_path = '~/.jruby_art/config.yml'
    begin
      CONFIG_FILE_PATH = File.expand_path(config_path)
      RP_CONFIG = (YAML.load_file(CONFIG_FILE_PATH))
    rescue
      warn(format('WARN: you need to set PROCESSING_ROOT in %s', config_path))
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jruby_art-1.0.4 lib/jruby_art/config.rb
jruby_art-1.0.3 lib/jruby_art/config.rb
jruby_art-1.0.2 lib/jruby_art/config.rb
jruby_art-1.0.1 lib/jruby_art/config.rb
jruby_art-1.0.0 lib/jruby_art/config.rb
jruby_art-0.9.0 lib/jruby_art/config.rb
jruby_art-0.8.0 lib/jruby_art/config.rb
jruby_art-0.7.0 lib/jruby_art/config.rb
jruby_art-0.6.0 lib/jruby_art/config.rb
jruby_art-0.5.0 lib/jruby_art/config.rb
jruby_art-0.4.2 lib/jruby_art/config.rb