Class: Gemsmith::Generators::GitHub
- Defined in:
- lib/gemsmith/generators/git_hub.rb
Overview
Generates GitHub support.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gemsmith::Generators::Base
Instance Method Details
#run ⇒ Object
7 8 9 10 11 |
# File 'lib/gemsmith/generators/git_hub.rb', line 7 def run return unless configuration.dig(:generate, :git_hub) cli.template "%gem_name%/.github/ISSUE_TEMPLATE.md.tt", configuration cli.template "%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt", configuration end |