class Guard::Compat::Test::Template

def changed(file)

def changed(file)
  @session.match(file)
end

def initialize(plugin_class)

def initialize(plugin_class)
  name = plugin_class.to_s.sub('Guard::', '').downcase
  path = format('lib/guard/%s/templates/Guardfile', name)
  content = File.read(path)
  @session = Session.new(path, content)
end