class Gemsmith::Generators::GitHub

Generates GitHub support.

Public Instance Methods

run() click to toggle source
# File lib/gemsmith/generators/git_hub.rb, line 7
def run
  return unless configuration.dig :generate, :git_hub

  template "%gem_name%/.github/ISSUE_TEMPLATE.md.tt"
  template "%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt"
end