Class: Gemsmith::Skeletons::DocumentationSkeleton

Inherits:
BaseSkeleton
  • Object
show all
Defined in:
lib/gemsmith/skeletons/documentation_skeleton.rb

Overview

Configures documentation 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
11
# File 'lib/gemsmith/skeletons/documentation_skeleton.rb', line 5

def create
  cli.template "%gem_name%/README.md.tt", cli.template_options
  cli.template "%gem_name%/CONTRIBUTING.md.tt", cli.template_options
  cli.template "%gem_name%/CODE_OF_CONDUCT.md.tt", cli.template_options
  cli.template "%gem_name%/LICENSE.md.tt", cli.template_options
  cli.template "%gem_name%/CHANGELOG.md.tt", cli.template_options
end