Class: Roll::Amp::Script::AmpJsTag
- Inherits:
-
Object
- Object
- Roll::Amp::Script::AmpJsTag
- Includes:
- ActionView::Helpers::OutputSafetyHelper
- Defined in:
- lib/roll/amp/script/amp_js_tag.rb
Overview
The script tag with AMP utilities.
Instance Method Summary collapse
-
#to_html ⇒ String
Prints this tag as HTML.
Instance Method Details
#to_html ⇒ String
Prints this tag as HTML.
12 13 14 |
# File 'lib/roll/amp/script/amp_js_tag.rb', line 12 def to_html raw('<script async src="https://cdn.ampproject.org/v0.js"></script>') end |