Sha256: 3136415ce81b9371790fcc6ae82638cb4c0d6a58a8d0bf5a468f478377f13f12

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

module Gemsmith
  module Skeletons
    # Configures Guard support.
    class GuardSkeleton < BaseSkeleton
      def create
        return unless configuration.create_guard?
        cli.template "%gem_name%/Guardfile.tt", configuration.to_h
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-6.2.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-6.1.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-6.0.0 lib/gemsmith/skeletons/guard_skeleton.rb