class Rouge::Lexers::Apache

Attributes

keywords[R]

Public Instance Methods

name_for_token(token, kwtype, tktype) click to toggle source
# File lib/rouge/lexers/apache.rb, line 24
def name_for_token(token, kwtype, tktype)
  if self.class.keywords[kwtype].include? token
    tktype
  else
    Text
  end
end