Class: Gemsmith::Skeletons::GemSkeleton

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

Overview

Configures default gem support.

Instance Method Summary collapse

Methods inherited from BaseSkeleton

create, #enabled?, #initialize

Constructor Details

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

Instance Method Details

#createObject



5
6
7
8
9
10
# File 'lib/gemsmith/skeletons/gem_skeleton.rb', line 5

def create
  cli.template "%gem_name%/Gemfile.tt", cli.template_options
  cli.template "%gem_name%/%gem_name%.gemspec.tt", cli.template_options
  cli.template "#{lib_root}/%gem_name%.rb.tt", cli.template_options
  cli.template "#{lib_root}/%gem_name%/identity.rb.tt", cli.template_options
end