lib/rubyneat/rubyneat.rb in rubyneat-0.5.0 vs lib/rubyneat/rubyneat.rb in rubyneat-0.5.2
- old
+ new
@@ -9,17 +9,15 @@
=begin rdoc
= RubyNEAT -- a Ruby Implementation of the Neural Evolution of Augmenting Topologies.
The RubyNEAT system incorporates the basis of the NEAT algorithm. Flexibility
is the key here, allowing RubyNEAT to be leverage in a variety of applications.
-
-=== Requirements
-We make no effort to support Ruby versions less than 2.0.0. I know this will
-be a problem to some, but you are strongly urged to upgrade.
=end
-$log = Logger.new(STDOUT)
-$log.level = Logger::INFO
+if $log.nil?
+ $log = Logger.new(STDOUT)
+ $log.level = Logger::INFO
+end
AwesomePrint.defaults = { plain: true }
=begin rdoc
= NEAT -- Module for RubyNEAT.