method

git_keep

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

Method deprecated or moved

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

git_keep(destination)
protected

No documentation available.

# File railties/lib/rails/generators/app_base.rb, line 266
      def git_keep(destination)
        create_file("#{destination}/.gitkeep") unless options[:skip_git]
      end