Sha256: 0a394df0857a7c05fa4022539972e7b42fb26089c62ca6c75407d271ba4330a0
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
require 'rubygems' require 'capcode' require 'rack/bug' $:.unshift( "../lib" ) require 'capcode/render/erb' module Capcode set :erb, "erb" use Rack::Bug class Index < Route '/' def get @time = Time.now render :erb => :cf, :layout => :cf_layout end end end Capcode.run( )
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capcode-render-erb-0.2.0 | examples/render-erb.rb |
capcode-render-erb-0.1.0 | examples/render-erb.rb |