mote:最小操作模板

时间:2021-02-05 18:27:51
【文件属性】:
文件名称:mote:最小操作模板
文件大小:14KB
文件格式:ZIP
更新时间:2021-02-05 18:27:51
ruby template lesscode RubyRuby 尘土 最低操作模板。 描述 Mote是一个非常简单,快速的模板引擎。 用法 用法与ERB非常相似: template = Mote . parse ( "This is a template" ) template . call #=> "This is a template" 您可能会说一个愚蠢的例子,我同意。 以下是您可能会遇到的不同用例的简短列表: % # This is a comment % if user == "Bruno" {{user}} rhymes with Piano % elsif user == "Brutus" {{user}} rhymes wit
【文件预览】:
mote-master
----bin()
--------mote(978B)
----test()
--------foo.mote(10B)
--------basic.mote(23B)
--------mote_test.rb(3KB)
--------error.mote(46B)
----LICENSE(1KB)
----benchmarks()
--------result.txt(4KB)
--------src()
--------run.rb(4KB)
----CONTRIBUTING(1KB)
----makefile(40B)
----extras()
--------mote.vim(2KB)
----.gems(16B)
----AUTHORS(73B)
----.gitignore(5B)
----lib()
--------mote.rb(2KB)
----mote.gemspec(594B)
----README.md(3KB)

网友评论