class Rails::Generators::NamedBase

def initialize(args, *options) # :nodoc:

:nodoc:
def initialize(args, *options) # :nodoc:
  @inside_template = nil
  # Unfreeze name in case it's given as a frozen string
  args[0] = args[0].dup if args[0].is_a?(String) && args[0].frozen?
  super
  assign_names!(name)
  parse_attributes! if respond_to?(:attributes)
end