Class: Middleman::PreviewServer::ServerInformationValidator
- Inherits:
-
Object
- Object
- Middleman::PreviewServer::ServerInformationValidator
- Defined in:
- lib/middleman-core/preview_server/server_information_validator.rb
Overview
Validate user input
Instance Method Summary collapse
-
#validate(information, checks) ⇒ Object
Validate the input.
Instance Method Details
#validate(information, checks) ⇒ Object
Validate the input
13 14 15 |
# File 'lib/middleman-core/preview_server/server_information_validator.rb', line 13 def validate(information, checks) checks.each { |c| c.validate information } end |