From c8e08fabf6fbeb747f33415e478cf6058640a366 Mon Sep 17 00:00:00 2001 From: Rob Aldred Date: Fri, 14 May 2010 14:23:29 +0100 Subject: [PATCH] added YmlLoadError class which is raised when yml file cannot be parsed --- lib/hydra/master.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/hydra/master.rb b/lib/hydra/master.rb index e0f99d8..379f80f 100644 --- a/lib/hydra/master.rb +++ b/lib/hydra/master.rb @@ -3,10 +3,13 @@ require 'open3' require 'tmpdir' require 'erb' require 'yaml' + module Hydra #:nodoc: # Hydra class responsible for delegate work down to workers. # # The Master is run once for any given testing session. + class YmlLoadError < StandardError; end + class Master include Hydra::Messages::Master include Open3