RubyGems Navigation menu

directory_template 1.0.1

DirectoryTemplate is a library which lets you generate directory structures and files from a template structure. The template structure can be a real directory structure on the filesystem, or it can be stored in a yaml file. Take a look at the examples directory in the gem to get an idea, how a template can look. When generating a new directory structure from a template, DirectoryTemplate will process the pathname of each directory and file using the DirectoryTemplate#path_processor. It will also process the contents of each file with all processors that apply to a given file. The standard path processor allows you to use `%{variables}` in pathnames. The gem comes with a .erb (renders ERB templates) and .html.markdown processor (renders markdown to html). You can use the existing processors or define your own ones.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.0.1 - May 03, 2012 (15.5 KB)
  2. 1.0.0 - May 03, 2012 (15.5 KB)

业主:

作者:

  • Stefan Rusterholz

SHA 256 校验和:

e37f0897711be25cc51ee8797a5aed5ca5d6a26cc3eb2599fd26b254fd05bb3f

下载总量 8,987

这个版本 5,489

许可:

需要的 Ruby 版本:

需要的 RubyGems 版本: > 1.3.1

链接: