Sha256: 49cda4eeb66be3baed4fa6743a14015d54917fcda5b061444bd9d6097d52ba63
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
module Ryonan class Template def self.create(template_root, name, variable_hash) Filer.cp_r("#{template_root}/#{Config.template_dir_name}", "#{template_root}/#{name}") Filer.rm("#{template_root}/#{name}/#{Config.config_file_name}") filer = Filer.new("#{template_root}/#{name}") filer.recursive_rename_files(variable_hash) filer.render_erbs(variable_hash) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ryonan-0.0.1 | lib/ryonan/template.rb |