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

Inherits:
BasicCheck
  • Object
show all
Defined in:
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



74
75
76
77
# File 'lib/middleman-core/preview_server/checks.rb', line 74

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