RegexLexer
# File lib/rouge/lexers/r.rb, line 18 def self.analyze_text(text) return 1 if text.shebang? 'Rscript' return 0.1 if text.include? '->' end
# File lib/rouge/lexers/r.rb, line 12 def self.keywords @keywords ||= %( if else for while repeat in next break return switch function ) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.