def template_dir
      external_templates = File.expand_path(File.join(config_data[:template_dir], 'providers', 'provider_template.rb.retrospec.erb'))
      if File.exist?(external_templates)
        File.join(config_data[:template_dir], 'providers')
      else
        File.expand_path(File.join(File.dirname(File.dirname(__FILE__)), 'templates', 'providers'))
      end
    end
def template_dir
      external_templates = File.expand_path(File.join(config_data[:template_dir], 'providers', 'provider_template.rb.retrospec.erb'))
      if File.exist?(external_templates)
        File.join(config_data[:template_dir], 'providers')
      else
        File.expand_path(File.join(File.dirname(File.dirname(__FILE__)), 'templates', 'providers'))
      end
    end
retrospec will initaialize this class so its up to you
 to set any additional variables you need in the context in feed the templates.
 returns the path to the templates
 first looks inside the external templates directory for specific file
 then looks inside the gem path templates directory, which is really only useful
 when developing new templates.