# File lib/guard/dsl.rb, line 343 def group(name, options = {}) @groups = @@options[:group] || [] name = name.to_sym if block_given? && (@groups.empty? || @groups.map(&:to_sym).include?(name)) ::Guard.add_group(name.to_s.downcase, options) @current_group = name yield if block_given? @current_group = nil end end