method

author

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: Rails::Generators::PluginGenerator
author() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 311
      def author
        default = "TODO: Write your name"
        if skip_git?
          @author = default
        else
          @author = `git config user.name`.chomp rescue default
        end
      end
Register or log in to add new notes.