Parent

Class/Module Index [+]

Quicksearch

Rouge::Lexers::ERB

Public Class Methods

analyze_text(text) click to toggle source
# File lib/rouge/lexers/erb.rb, line 11
def self.analyze_text(text)
  return 0.4 if text =~ /<%.*%>/
end
new(opts={}) click to toggle source
# File lib/rouge/lexers/erb.rb, line 15
def initialize(opts={})
  @ruby_lexer = Ruby.new(opts)

  super(opts)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.