Updated koan directory from src.

This commit is contained in:
Jim Weirich
2010-08-27 09:44:10 -04:00
parent ed2ef0f439
commit b0a01786f4
3 changed files with 59 additions and 22 deletions

View File

@@ -0,0 +1,24 @@
require 'autotest'
class Autotest::Rubykoan < Autotest
def initialize
super
@exceptions = /\.txt|Rakefile|\.rdoc/
self.order = :alpha
self.add_mapping(/^about_.*rb$/) do |filename, _|
filename
end
end
def make_test_cmd files_to_test
"#{ruby} 'path_to_enlightenment.rb'"
end
# quiet test/unit chatter
def handle_results(results)
end
end