Class: Roll::Amp::Style::CustomStyleTag

Inherits:
StyleTag
  • Object
show all
Defined in:
lib/roll/amp/style/custom_style_tag.rb

Overview

The custom style tag.

Instance Method Summary collapse

Methods inherited from StyleTag

#to_html

Constructor Details

#initialize(content) ⇒ CustomStyleTag

Initializes new instance of the custom style tag.

Parameters:

  • the (String)

    content of the tag.



8
9
10
# File 'lib/roll/amp/style/custom_style_tag.rb', line 8

def initialize(content)
  super('amp-custom', content)
end