diff --git a/lib/vagrant/config.rb b/lib/vagrant/config.rb index 1bb6cd401..74a28edbd 100644 --- a/lib/vagrant/config.rb +++ b/lib/vagrant/config.rb @@ -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' diff --git a/lib/vagrant/config/error_recorder.rb b/lib/vagrant/config/error_recorder.rb deleted file mode 100644 index 5a5b8e427..000000000 --- a/lib/vagrant/config/error_recorder.rb +++ /dev/null @@ -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