class Rouge::Lexers::Make
Public Class Methods
analyze_text(text)
click to toggle source
# File lib/rouge/lexers/make.rb, line 12 def self.analyze_text(text) return 0.6 if text =~ /^\.PHONY:/ end
new(opts={})
click to toggle source
Calls superclass method
# File lib/rouge/lexers/make.rb, line 26 def initialize(opts={}) super @shell = Shell.new(opts) end