lib/bioshogi/extreme_validator.rb in bioshogi-0.0.3 vs lib/bioshogi/extreme_validator.rb in bioshogi-0.0.4

- old
+ new

@@ -134,10 +134,10 @@ def target_files @target_files ||= yield_self do if error_list.exist? files = error_list.readlines.reject { |e|e.match?("#") }.collect { |e| Pathname(e.strip) } else - files = ROOT_DIR.glob("../../2chkifu/**/*.{ki2,KI2}").sort # ~/src/2chkifu + files = ROOT.glob("../../2chkifu/**/*.{ki2,KI2}").sort # ~/src/2chkifu end files.take(limit) end end end