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



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

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