# File lib/guard/dsl.rb, line 523 def scope(scopes = {}) if ::Guard.options[:plugin].empty? ::Guard.options[:plugin] = [scopes[:plugin]] if scopes[:plugin] ::Guard.options[:plugin] = scopes[:plugins] if scopes[:plugins] end if ::Guard.options[:group].empty? ::Guard.options[:group] = [scopes[:group]] if scopes[:group] ::Guard.options[:group] = scopes[:groups] if scopes[:groups] end end