class Guard::DslDescriber
def group(name)
- See: Guard::Dsl#group -
Other tags:
- Yield: - a block where you can declare several guards
Parameters:
-
name
(String
) -- the group's name called from the CLI
def group(name) @@guardfile_structure << { :group => name.to_sym, :guards => [] } @group = true yield if block_given? @group = false end