class Rugments::Lexers::Make

Public Class Methods

analyze_text(text) click to toggle source
# File lib/rugments/lexers/make.rb, line 11
def self.analyze_text(text)
  return 0.6 if text =~ /^\.PHONY:/
end
new(opts = {}) click to toggle source
Calls superclass method
# File lib/rugments/lexers/make.rb, line 25
def initialize(opts = {})
  super
  @shell = Shell.new(opts)
end