class Middleman::PreviewServer::ServerInformationValidator
Validate user input
Public Instance Methods
Source
# File lib/middleman-core/preview_server/server_information_validator.rb, line 13 def validate(information, checks) checks.each { |c| c.validate information } end
Validate the input
@param [ServerInformation] information
The information instance which holds information about the preview server settings
@param [Array] checks
A list of checks which should be evaluated