class Roll::Amp::Style::BoilerplateStyleTag

The boilerplate style tag. Provides base CSS for AMP pages.

Public Class Methods

new(css_file_name) click to toggle source

Initializes new instance of the boilerplate style tag. @param css_file_name [String] the file name of the CSS file to take boilerplate CSS content from.

Calls superclass method
# 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