Remove the ErrorRecorder

This commit is contained in:
Mitchell Hashimoto 2013-01-18 13:15:22 -08:00
parent fff021e51d
commit 37e36010e0
2 changed files with 0 additions and 20 deletions

View File

@ -4,7 +4,6 @@ module Vagrant
module Config
autoload :Base, 'vagrant/config/base'
autoload :Container, 'vagrant/config/container'
autoload :ErrorRecorder, 'vagrant/config/error_recorder'
autoload :Loader, 'vagrant/config/loader'
autoload :VersionBase, 'vagrant/config/version_base'

View File

@ -1,19 +0,0 @@
module Vagrant
module Config
# A class which is passed into the various {Base#validate} methods and
# can be used as a helper to add error messages about a single config
# class.
class ErrorRecorder
attr_reader :errors
def initialize
@errors = []
end
# Adds an error to the list of errors.
def add(message)
@errors << message
end
end
end
end