lib/guard/plugin.rb in guard-2.12.4 vs lib/guard/plugin.rb in guard-2.12.5
- old
+ new
@@ -285,10 +285,10 @@
def initialize(options = {})
group_name = options.delete(:group) { :default }
@group = Guard.state.session.groups.add(group_name)
@watchers = options.delete(:watchers) { [] }
@callbacks = options.delete(:callbacks) { [] }
- @options = options
+ @options = options
_register_callbacks
end
# Add all the Guard::Plugin's callbacks to the global @callbacks array
# that's used by Guard to know which callbacks to notify.