Method: Html2rss::Config#stylesheets

Defined in:
lib/html2rss/config.rb

#stylesheetsArray<Stylesheet>

Retrieves stylesheets from global settings.

Returns:

  • (Array<Stylesheet>)

    Array of Stylesheet structs.

[View source]

75
76
77
# File 'lib/html2rss/config.rb', line 75

def stylesheets
  @global.fetch(:stylesheets, []).map { |attributes| Html2rss::RssBuilder::Stylesheet.new(**attributes) }
end