Method: #git_commit

Defined in:
lib/rails3-template.rb

#git_commit(message, &block) ⇒ Object



23
24
25
26
27
# File 'lib/rails3-template.rb', line 23

def git_commit(message, &block)
  yield if block
  git :add => '.'
  git :commit => "-m'Nozomi: #{message}'"
end