class Rouge::Lexers::R
Constants
- BUILTIN_CONSTANTS
- KEYWORDS
- KEYWORD_CONSTANTS
- PRIMITIVE_FUNCTIONS
These are all the functions in `base` that are implemented as a `.Primitive`, minus those functions that are also keywords.
Public Class Methods
analyze_text(text)
click to toggle source
# File lib/rouge/lexers/r.rb, line 45 def self.analyze_text(text) return 1 if text.shebang? 'Rscript' end