lib/rubyneat/rubyneat.rb in rubyneat-0.5.2 vs lib/rubyneat/rubyneat.rb in rubyneat-0.5.3
- old
+ new
@@ -304,10 +304,10 @@
# FIXME: where the controller would lord it over them all. Attention
# FIXME: must also be given to Rubinius and JRuby so that we can
# FIXME: run under multiple cores.
class Controller < NeatOb
# Version of RubyNEAT runing
- attr_neat :version, default: SemVer.find.format("%M.%m.%p%s")
+ attr_neat :version, default: SemVer.find(SEMVER_PATH).format("%M.%m.%p%s")
attr_neat :neater, default: '--unspecified--'
# global innovation number
attr_neat :glob_innov_num, default: 0, cloneable: false