website/docs: clearer

This commit is contained in:
Mitchell Hashimoto 2013-10-23 23:09:39 -07:00
parent e99fc28d8a
commit 1b6643c974
1 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,9 @@ The validation method is given a `machine` object, since validation is
done for each machine that Vagrant is managing. This allows you to done for each machine that Vagrant is managing. This allows you to
conditionally validate some keys based on the state of the machine and so on. conditionally validate some keys based on the state of the machine and so on.
The `_detected_errors` method returns any errors already detected by Vagrant, like unknown configuration keys. The `_detected_errors` method returns any errors already detected by Vagrant,
such as unknown configuration keys. This returns an array of error messages,
so be sure to turn it into the proper Hash object to return later.
The return value is a Ruby Hash object, where the key is a section name, The return value is a Ruby Hash object, where the key is a section name,
and the value is a list of error messages. These will be displayed by and the value is a list of error messages. These will be displayed by