Please sign in to comment.
refactor `get_guard_class` to first try the constant and fallback to …
…require This enables defining inline guard handlers to override ones present in gems, e.g. you could define an inline Guard::RSpec handler and have guard use that instead of first trying to load 'guard/rspec' from the 'guard-rspec' gem. Also gets rid of the ill-named method `try_to_load_gem`. Handlers are simply found in the $LOAD_PATH and don't have to necessarily come from gems.
- Loading branch information...
Showing with 34 additions and 33 deletions.