RegexLexer
# File lib/rouge/lexers/http.rb, line 7 def self.methods @methods ||= %(GET POST PUT DELETE HEAD OPTIONS TRACE) end
# File lib/rouge/lexers/http.rb, line 11 def content_lexer return Lexers::PlainText unless @content_type @content_lexer ||= Lexer.guess_by_mimetype(@content_type) rescue Lexer::AmbiguousGuess @content_lexer = Lexers::PlainText end
[Validate]
Generated with the Darkfish Rdoc Generator 2.