example/students_1/students.rb in lorj-1.0.9 vs example/students_1/students.rb in lorj-1.0.10
- old
+ new
@@ -28,10 +28,11 @@
# settings.
# PrcLib.level = Logger::DEBUG # Printed out to your console.
# PrcLib.core_level = 3 # framework debug levels.
# Initialize the framework
-processes = [File.join(app_path, 'process', 'students.rb')]
+processes = []
+processes << { :process_path => File.join(app_path, 'process', 'students.rb') }
student_core = Lorj::Core.new(nil, processes)
# Ask the framework to create the object student 'Robert Redford'
student_core.create(:student, :student_name => 'Robert Redford')