class Rails::Generators::Base

def self.desc(description=nil)

root otherwise uses a default description.
Tries to get the description from a USAGE file one folder above the source
def self.desc(description=nil)
  return super if description
  usage = source_root && File.expand_path("../USAGE", source_root)
  @desc ||= if usage && File.exist?(usage)
    File.read(usage)
  else
    "Description:\n    Create #{base_name.humanize.downcase} files for #{generator_name} generator."
  end
end