Sha256: a1416355c96b1f55bdf182ee5765c99714cab60d04456553cfd0e923737deaf3
Contents?: true
Size: 502 Bytes
Versions: 8
Compression:
Stored size: 502 Bytes
Contents
module Entityjs class Templates def self.generate(args) puts "Available Templates:" temps = Dir[Entityjs::root+'/templates/*'].sort temps.each do |i| k = i.split('/').pop default = '' if k == Entityjs::default_template default = " -default" end puts " #{k}#{default}" end puts "" puts "Run 'entityjs new [name] [template]'" return 0 end end end
Version data entries
8 entries across 8 versions & 1 rubygems