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 22 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( arguments break case catch classdef continue else elseif end for function global if import methods otherwise parfor persistent properties return spmd switch try while ) end