Class: Middleman::PreviewServer::Checks::DenyAnyAny

Inherits:
BasicCheck
  • Object
show all
Defined in:
middleman-core/lib/middleman-core/preview_server/checks.rb

Overview

This validation always fails

Instance Method Summary collapse

Instance Method Details

#validate(information) ⇒ Object

Validate

Parameters:

  • information (Information)

    The information to be validated



85
86
87
88
# File 'middleman-core/lib/middleman-core/preview_server/checks.rb', line 85

def validate(information)
  information.valid = false
  information.reason = 'Undefined combination of options "--server-name" and "--bind-address". If you think this is wrong, please file a bug at "https://github.com/middleman/middleman"'
end