class Rouge::Lexers::Matlab
Public Class Methods
builtins()
click to toggle source
self-modifying method that loads the builtins file
# File lib/rouge/lexers/matlab.rb, line 21 def self.builtins Kernel::load File.join(Lexers::BASE_DIR, 'matlab/keywords.rb') builtins end
keywords()
click to toggle source
# File lib/rouge/lexers/matlab.rb, line 13 def self.keywords @keywords = Set.new %w( break case catch classdef continue else elseif end for function global if otherwise parfor persistent return spmd switch try while ) end