class Guard::Dsl

def ignore!(*regexps)

Parameters:
  • regexps (Regexp) -- a pattern (or list of patterns) for ignoring paths

Other tags:
    Example: Ignore only these paths -
def ignore!(*regexps)
  @ignore_regexps ||= []
  @ignore_regexps << regexps
  # TODO: use guardfile results class
  Guard.state.session.guardfile_ignore_bang = @ignore_regexps
end