lib/deadly_serious.rb in deadly_serious-0.11.0 vs lib/deadly_serious.rb in deadly_serious-0.12.0
- old
+ new
@@ -3,9 +3,13 @@
require 'deadly_serious/engine/spawner'
require 'deadly_serious/engine/base_process'
require 'deadly_serious/engine/push_pop'
require 'deadly_serious/engine/push_pop_send' # Compatibility with 0.2.0
+Dir[File.dirname(__FILE__) + '/deadly_serious/engine/*.rb'].each do |file|
+ require File.dirname(file) + '/' + File.basename(file, File.extname(file))
+end
+
# Loading all predefined processes
Dir[File.dirname(__FILE__) + '/deadly_serious/processes/*.rb'].each do |file|
require File.dirname(file) + '/' + File.basename(file, File.extname(file))
end