Class: WildcardValidator
- Inherits:
-
HostnameValidator
- Object
- ActiveModel::EachValidator
- HostnameValidator
- WildcardValidator
- Defined in:
- lib/validates_hostname.rb
Overview
Validates wildcard hostnames.
Instance Method Summary collapse
-
#initialize(options) ⇒ WildcardValidator
constructor
A new instance of WildcardValidator.
Methods inherited from HostnameValidator
Constructor Details
#initialize(options) ⇒ WildcardValidator
Returns a new instance of WildcardValidator.
222 223 224 |
# File 'lib/validates_hostname.rb', line 222 def initialize() super({ allow_wildcard_hostname: true }.merge()) end |