module Guard::DeprecatedMethods
def add_guard(*args)
- See: https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 - How to
Deprecated:
- Use `Guard.add_plugin(name, options = {})` instead.
def add_guard(*args) ::Guard::UI.deprecation(::Guard::Deprecator::ADD_GUARD_DEPRECATION) add_plugin(*args) end
def get_guard_class(name, fail_gracefully = false)
- See: https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 - How to
Deprecated:
- Use
def get_guard_class(name, fail_gracefully = false) ::Guard::UI.deprecation(::Guard::Deprecator::GET_GUARD_CLASS_DEPRECATION) ::Guard::PluginUtil.new(name).plugin_class(fail_gracefully: fail_gracefully) end
def guard_gem_names
- See: https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 - How to
Deprecated:
- Use `Guard::PluginUtil.plugin_names` instead.
def guard_gem_names ::Guard::UI.deprecation(::Guard::Deprecator::GUARD_GEM_NAMES_DEPRECATION) ::Guard::PluginUtil.plugin_names end
def guards(filter = nil)
- See: https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 - How to
Deprecated:
- Use `Guard.plugins(filter)` instead.
def guards(filter = nil) ::Guard::UI.deprecation(::Guard::Deprecator::GUARDS_DEPRECATION) plugins(filter) end
def locate_guard(name)
- See: https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 - How to
Deprecated:
- Use `Guard::PluginUtil.new(name).plugin_location` instead.
def locate_guard(name) ::Guard::UI.deprecation(::Guard::Deprecator::LOCATE_GUARD_DEPRECATION) ::Guard::PluginUtil.new(name).plugin_location end