Method: Guard::Deprecated::Guard::ClassMethods#add_plugin
- Defined in:
- lib/guard/deprecated/guard.rb
#add_plugin(name, options = {}) ⇒ Object
261 262 263 264 |
# File 'lib/guard/deprecated/guard.rb', line 261 def add_plugin(name, = {}) UI.deprecation(ADD_PLUGIN) ::Guard.state.session.plugins.add(name, ) end |