Method: Padrino::Generators::Project#git_author_email
- Defined in:
- padrino-gen/lib/padrino-gen/generators/project.rb
#git_author_email ⇒ Object
Returns the git author email config or a fill-in value.
159 160 161 162 |
# File 'padrino-gen/lib/padrino-gen/generators/project.rb', line 159 def = `git config user.email`.chomp rescue '' .empty? ? "TODO: Write your email address" : end |