method
author
rails latest stable - Class:
Rails::Generators::PluginGenerator
author()private
No documentation available.
# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 405
def author
default = "TODO: Write your name"
if skip_git?
@author = default
else
@author = `git config user.name`.chomp rescue default
end
end