class Guard::Dsl

def scope(scope = {})

Parameters:
  • scope (Hash) -- the scope for the groups and plugins

Other tags:
    Example: Scope Guard to multiple plugins -
    Example: Scope Guard to a single plugin -
    Example: Scope Guard to multiple groups -
    Example: Scope Guard to a single group -
def scope(scope = {})
  # TODO: use a Guardfile::Results class
  Guard.state.session.guardfile_scope(scope)
end