master/lib
Mislav Marohnić 17a654b171 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.
2011-06-07 15:42:45 +02:00
..
guard gemspec: avoid adding the "lib/" directory to load path 2011-06-07 15:42:44 +02:00
guard.rb refactor get_guard_class to first try the constant and fallback to require 2011-06-07 15:42:45 +02:00