RAA - tmplc

tmplc / 0.1.0

Short description: tmplc
Category: Application/Text processing
Status: usable
Created: 2002-07-21 14:10:40 GMT
Last update: -
Owner: MoonWolf (Projects of this owner)
Homepage: not available
Download: http://www.moonwolf.com/ruby/archive/tmplc-0.1.0.tar.gz
License: Ruby's
Dependency:
None
Description:

eruby-like-template => ruby module

sample/title.html
<title><%=@title%></title>

$ tmplc.rb sample lib

lib/sample.rb
module Sample
def title(arg=nil,io='')
io << "<title>"
io << (@title).to_s
io << "</title>"
io
end
end

Edit this project (for project owner)

back to RAA top