class Pfm::Generator::Context

This is here to hold attr_accessor data for Generator context variables

def self.add_attr(name)

def self.add_attr(name)
  @attributes ||= []
  unless @attributes.include?(name)
    @attributes << name
    attr_accessor(name)
  end
end

def self.reset

def self.reset
  return if @attributes.nil?
  @attributes.each do |attr|
    remove_method(attr)
  end
  @attributes = nil
end