Skip to content

Instantly share code, notes, and snippets.

View dffuller's full-sized avatar

Dave Fuller dffuller

  • Arkansas
View GitHub Profile
@dffuller
dffuller / autotest.rb
Last active August 29, 2015 14:07
Using autotest with exercism's Ruby exercises
Autotest.add_hook :initialize do |at|
at.add_mapping %r{^(.*)\.rb$} do |_,m|
at.files_matching( %r{.*_test.rb} )
end
at.add_mapping %r{^.*_test\.rb$} do | file, _|
file
end
end