You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: install_generator.rb
    path of file: ./repos/react-rails/lib/generators/react
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module React
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path "../templates", __dir__

      desc "Create default react.js folder layout and prep application.js"

      cl
    
      def create_server_rendering
        if options[:skip_server_rendering]
          nil
        elsif shakapacker?
          ssr_manifest_path = File.join(javascript_dir, "server_rendering.js")
          template("server_rendering_pack.js", ssr_manifest_path)
        else
          ssr_manifest_path = File.join(javascript_dir, "server_rendering.js")
          template("server_rendering.js", ssr_manifest_path)
          initializer_path = "config/initializers/react_server_rendering.rb"
          template("react_server_rendering.rb", initializer_path)
        end