Files

Guard::DeprecatedMethods

Public Instance Methods

add_guard(*args) click to toggle source

@deprecated Use `Guard.add_plugin(name, options = {})` instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to

upgrade for Guard 2.0
# File lib/guard/deprecated_methods.rb, line 20
def add_guard(*args)
  ::Guard::UI.deprecation(::Guard::Deprecator::ADD_GUARD_DEPRECATION)
  add_plugin(*args)
end
get_guard_class(name, fail_gracefully = false) click to toggle source

@deprecated Use

`Guard::PluginUtil.new(name).plugin_class(fail_gracefully:
fail_gracefully)` instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to

upgrade for Guard 2.0
# File lib/guard/deprecated_methods.rb, line 32
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
guard_gem_names() click to toggle source

@deprecated Use `Guard::PluginUtil.plugin_names` instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to

upgrade for Guard 2.0
# File lib/guard/deprecated_methods.rb, line 52
def guard_gem_names
  ::Guard::UI.deprecation(::Guard::Deprecator::GUARD_GEM_NAMES_DEPRECATION)
  ::Guard::PluginUtil.plugin_names
end
guards(filter = nil) click to toggle source

@deprecated Use `Guard.plugins(filter)` instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to

upgrade for Guard 2.0
# File lib/guard/deprecated_methods.rb, line 10
def guards(filter = nil)
  ::Guard::UI.deprecation(::Guard::Deprecator::GUARDS_DEPRECATION)
  plugins(filter)
end
locate_guard(name) click to toggle source

@deprecated Use `Guard::PluginUtil.new(name).plugin_location` instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to

upgrade for Guard 2.0
# File lib/guard/deprecated_methods.rb, line 42
def locate_guard(name)
  ::Guard::UI.deprecation(::Guard::Deprecator::LOCATE_GUARD_DEPRECATION)
  ::Guard::PluginUtil.new(name).plugin_location
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.