module Rails::Command::Behavior

def print_list(base, namespaces)

Prints a list of generators.
def print_list(base, namespaces)
  return if namespaces.empty?
  puts "#{base.camelize}:"
  namespaces.each do |namespace|
    puts("  #{namespace}")
  end
  puts
end