Displaying 1 result from an estimated 1 matches for "vcrb".
Did you mean:
vcr
2006 Mar 12
0
ERB and Builder template engines shouldn''t be so heavily wired in ActionView::Base
...Why is it problem for me?
I wrote a ViewController templating engine. ViewController is similar to
Controller - is just one file, a class, which controls views of all
actions.
It uses yaml data files from which loads data. It is real push-style
template engine.
app/views/foo/foo_view_controller.vcrb
class FooViewController < ActiveView::ViewController::Base
def index
return get( :body ) do |body|
body.title = ''Homepage''
body.time = Time.now
body.table do |table|
@people.each do |person|
table << ge...