Remove the ErrorRecorder
This commit is contained in:
parent
fff021e51d
commit
37e36010e0
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue