Class: Rubysmith::Builders::Init

Inherits:
Abstract
  • Object
show all
Defined in:
lib/rubysmith/builders/init.rb

Overview

Initializes building of project by checking for existence first.

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from Rubysmith::Builders::Abstract

Instance Method Details

#callObject



12
13
14
15
# File 'lib/rubysmith/builders/init.rb', line 12

def call
  builder.call(settings.merge(template_path: "%project_name%")).check
  true
end