forked from guard/guard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
2 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters