Class: Gemsmith::Skeletons::GuardSkeleton

Inherits:
BaseSkeleton show all
Defined in:
lib/gemsmith/skeletons/guard_skeleton.rb

Overview

Configures Guard support.

Instance Method Summary collapse

Methods inherited from BaseSkeleton

create, #initialize

Constructor Details

This class inherits a constructor from Gemsmith::Skeletons::BaseSkeleton

Instance Method Details

#createObject



5
6
7
8
# File 'lib/gemsmith/skeletons/guard_skeleton.rb', line 5

def create
  return unless configuration.create_guard?
  cli.template "%gem_name%/Guardfile.tt", configuration.to_h
end