lib/bluepill/process_conditions.rb in bluepill-0.0.2 vs lib/bluepill/process_conditions.rb in bluepill-0.0.3
- old
+ new
@@ -2,6 +2,12 @@
module ProcessConditions
def self.name_to_class(name)
"#{self}::#{name.to_s.camelcase}".constantize
end
end
-end
\ No newline at end of file
+end
+
+require "bluepill/process_conditions/process_condition"
+Dir["#{File.dirname(__FILE__)}/process_conditions/*.rb"].each do |pc|
+ require pc
+end
+