Sha256: 007293c80958749b3d7b7ec8187dfd6c548af48f9e309845a6679ecbac4faecf

Contents?: true

Size: 610 Bytes

Versions: 1

Compression:

Stored size: 610 Bytes

Contents

module Gemsmith
  module Skeletons
    class DefaultSkeleton < BaseSkeleton
      def create_default_files
        template "%gem_name%/Rakefile.tt", template_options
        template "%gem_name%/%gem_name%.gemspec.tt", template_options
        template "#{lib_root}/%gem_name%.rb.tt", template_options
        template "#{lib_root}/%gem_name%/identity.rb.tt", template_options
      end

      def create_ruby_files
        template "%gem_name%/.ruby-version.tt", template_options
      end

      def create_git_files
        template "%gem_name%/.gitignore.tt", template_options
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-5.3.0 lib/gemsmith/skeletons/default_skeleton.rb