Class: BetterHtml::TestHelper::SafeErb::AllowedScriptType
- Defined in:
- lib/better_html/test_helper/safe_erb/allowed_script_type.rb
Constant Summary collapse
- VALID_JAVASCRIPT_TAG_TYPES =
['text/javascript', 'text/template', 'text/html']
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from BetterHtml::TestHelper::SafeErb::Base
Instance Method Details
#validate ⇒ Object
9 10 11 12 13 |
# File 'lib/better_html/test_helper/safe_erb/allowed_script_type.rb', line 9 def validate .each do |tag, _| validate_type(tag) end end |