Module: SitePrism::DSL::Validator Private
- Defined in:
- lib/site_prism/dsl/validator.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
- SitePrism::DSL::Validators
-
This is the new validator module which will check all DSL items against a whitelist for any entries which break specific rules
Instance Method Summary collapse
- #invalid?(name) ⇒ Boolean private
Instance Method Details
#invalid?(name) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 16 17 18 |
# File 'lib/site_prism/dsl/validator.rb', line 13 def invalid?(name) prefix_invalid?(name) || suffix_invalid?(name) || characters_invalid?(name) || blacklisted?(name) end |