Class: RubyNEAT::Cli::Main
- Inherits:
-
Thor
- Object
- Thor
- RubyNEAT::Cli::Main
- Defined in:
- lib/rubyneat/cli/main.rb
Instance Method Summary collapse
Instance Method Details
#neater(*neaters) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rubyneat/cli/main.rb', line 51 def neater(*neaters) NEAT::controller.verbosity = [:verbose].to_i if [:verbose] eval %{$log.level = Logger::#{options[:log].upcase}} if [:log] neaters.map do |neater| "#{neater}_neat.rb" end.each do |file| NEAT::controller.neater = file load file end end |
#version ⇒ Object
42 43 44 |
# File 'lib/rubyneat/cli/main.rb', line 42 def version puts SemVer.find.format "%M.%m.%p%s" end |