Sha256: b2f67e423d0fdee183f98d6b414b6c92a1c39e8b9dee98333e59688d5af22ad6
Contents?: true
Size: 434 Bytes
Versions: 5
Compression:
Stored size: 434 Bytes
Contents
# class GameboxGenerator < RubiGen::Base # def manifest # record do |m| # # Root directory and all subdirectories. # m.directory '' # BASEDIRS.each { |path| m.directory path } # binding.pry # m.template 'actor.erb', "src/actors/#{name}.rb", # m.template 'actor_spec.erb', "spec/actors/#{name}_spec.rb", # end # end # BASEDIRS = %w( # src/actors # spec/actors # ) # end #
Version data entries
5 entries across 5 versions & 1 rubygems