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

detect?(text) click to toggle source
# File lib/rouge/lexers/r.rb, line 46
def self.detect?(text)
  return true if text.shebang? 'Rscript'
end