module Rouge::Lexers
Constants
- BASE_DIR
Public Class Methods
load_lexer(relpath)
click to toggle source
# File lib/rouge/lexer.rb, line 510 def self.load_lexer(relpath) return if @_loaded_lexers.key?(relpath) @_loaded_lexers[relpath] = true Kernel::load File.join(BASE_DIR, relpath) end