class Rouge::Lexers::R
def self.analyze_text(text)
def self.analyze_text(text) return 1 if text.shebang? 'Rscript' return 0.1 if text.include? '->' end
def self.keywords
def self.keywords @keywords ||= %w( if else for while repeat in next break return switch function ) end