Class: Rubysmith::Builders::GitHubCI

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

Overview

Builds project skeleton GitHub CI template.

Instance Method Summary collapse

Methods inherited from Abstract

call, #initialize

Constructor Details

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

Instance Method Details

#callObject



11
12
13
14
15
16
# File 'lib/rubysmith/builders/git_hub_ci.rb', line 11

def call
  return configuration unless configuration.build_git_hub_ci

  builder.call(configuration_with_template).render.replace(/\n\n\Z/, "\n")
  configuration
end