Class: PAK::ValidatesHostname::WildcardValidator
- Inherits:
-
HostnameValidator
- Object
- ActiveModel::EachValidator
- HostnameValidator
- PAK::ValidatesHostname::WildcardValidator
- Defined in:
- lib/validates_hostname.rb
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.
291 292 293 294 295 296 |
# File 'lib/validates_hostname.rb', line 291 def initialize() opts = { :allow_wildcard_hostname => true, }.merge() super(opts) end |