Class: Gemsmith::Skeletons::PrySkeleton

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

Overview

Configures Pry debugging 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/pry_skeleton.rb', line 5

def create
  return unless configuration.create_pry?
  cli.template "%gem_name%/spec/support/extensions/pry.rb.tt", configuration.to_h
end