lib/lorj.rb in lorj-0.1.0 vs lib/lorj.rb in lorj-0.2.0
- old
+ new
@@ -39,13 +39,10 @@
require "core/definition" # Lorj Process definition
require "core/definition_internal" # Lorj internal functions
module Lorj
slib_forj = File.dirname(__FILE__)
- $FORJ_LIB = File.expand_path(File.join(File.dirname(slib_forj),'lib'))
+ PrcLib.lib_path = File.expand_path(File.join(File.dirname(slib_forj),'lib'))
- raise "$FORJ_LIB is missing. Please set it." if not $FORJ_LIB
-
- $PROVIDERS_PATH = File.expand_path(File.join($FORJ_LIB, "providers"))
- $CORE_PROCESS_PATH = File.join($FORJ_LIB, "core_process")
+ PrcLib.core_level = 0
end