Class: Roll::Amp::Style::BoilerplateStyleTag
- Defined in:
- lib/roll/amp/style/boilerplate_style_tag.rb
Overview
The boilerplate style tag. Provides base CSS for AMP pages.
Instance Method Summary collapse
-
#initialize(css_file_name) ⇒ BoilerplateStyleTag
constructor
Initializes new instance of the boilerplate style tag.
Methods inherited from StyleTag
Constructor Details
#initialize(css_file_name) ⇒ BoilerplateStyleTag
Initializes new instance of the boilerplate style tag. boilerplate CSS content from.
9 10 11 12 13 14 |
# File 'lib/roll/amp/style/boilerplate_style_tag.rb', line 9 def initialize(css_file_name) super( 'amp-boilerplate', InternalCssFile.new(css_file_name).read ) end |