Method: Padrino::Generators::Project#git_author_name
- Defined in:
- padrino-gen/lib/padrino-gen/generators/project.rb
#git_author_name ⇒ Object
Returns the git author name config or a fill-in value.
151 152 153 154 |
# File 'padrino-gen/lib/padrino-gen/generators/project.rb', line 151 def = `git config user.name`.chomp rescue '' .empty? ? "TODO: Write your name" : end |