method

create_root

rails latest stable - Class: Rails::Generators::AppGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

create_root()
public

No documentation available.

# File railties/lib/rails/generators/rails/app/app_generator.rb, line 213
      def create_root
        self.destination_root = File.expand_path(app_path, destination_root)
        valid_app_const?

        empty_directory '.'
        set_default_accessors!
        FileUtils.cd(destination_root) unless options[:pretend]
      end