Class: Rubysmith::Builders::Git::Setup
- Defined in:
- lib/rubysmith/builders/git/setup.rb
Overview
Initializes project skeleton as a Git repository.
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Rubysmith::Builders::Abstract
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 |
# File 'lib/rubysmith/builders/git/setup.rb', line 8 def call return false unless settings.build_git builder.call(settings).run("git init", chdir: settings.project_name) true end |