Class: WildcardValidator

Inherits:
HostnameValidator show all
Defined in:
lib/validates_hostname.rb

Overview

Validates wildcard hostnames.

Instance Method Summary collapse

Methods inherited from HostnameValidator

#validate_each

Constructor Details

#initialize(options) ⇒ WildcardValidator

Returns a new instance of WildcardValidator.



222
223
224
# File 'lib/validates_hostname.rb', line 222

def initialize(options)
  super({ allow_wildcard_hostname: true }.merge(options))
end