class Rails::Generators::GeneratorGenerator

:nodoc:

def create_generator_files

def create_generator_files
  directory ".", generator_dir
end

def generator_dir

def generator_dir
  if options[:namespace]
    File.join("lib", "generators", regular_class_path, file_name)
  else
    File.join("lib", "generators", regular_class_path)
  end
end