# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 99 def read_stylesheet style library_available? ? @@stylesheet_cache[style || DEFAULT_STYLE] : '/* Rouge CSS disabled because Rouge is not available. */' end
# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 103 def stylesheet_basename style %Q(rouge-#{style || DEFAULT_STYLE}.css) end
# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 109 def base_style style library_available? ? @@base_style_cache[style || DEFAULT_STYLE] : nil end
# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 113 def style_available? style (::Rouge::Theme.find style) && style end