class Guard::Guardfile::Evaluator

def evaluate

Other tags:
    Example: Programmatically evaluate a Guardfile with an inline Guardfile -
    Example: Programmatically evaluate a Guardfile with a custom Guardfile -
    Example: Programmatically evaluate a Guardfile -
def evaluate
  inline? || _use_provided || _use_default!
  contents = _guardfile_contents
  fail NoPluginsError, ERROR_NO_PLUGINS unless /guard/m =~ contents
  Dsl.new.evaluate(contents, @path || "", 1)
end