Class: Pah::Templates::Git
- Inherits:
-
Pah::Template
- Object
- Rails::Generators::Base
- Pah::Template
- Pah::Templates::Git
- Defined in:
- lib/pah/templates/git.rb
Instance Method Summary collapse
Methods inherited from Pah::Template
#ask_unless_test, #copy_static_file, #git_commit, #static_files, #will_you_like_to?
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/pah/templates/git.rb', line 4 def call copy_static_file '.gitignore' git init: '-q' git add: '--all' git_commit 'Initial commit.' end |