         # File lib/ferret/browser.rb, line 106
    106:     def render(options = {})
    107:       options = {
    108:         :controller => @controller_path,
    109:         :action => :index,
    110:         :status => 200,
    111:         :content_type => 'text/html',
    112:         :env => nil,
    113:         :layout => 'views/layout.rhtml',
    114:       }.update(options)
    115:
    116:       path = "views/#{options[:controller]}/#{options[:action]}.rhtml"
    117:       content = ERB.new(load_page(path)).result(lambda{})
    118:       if options[:layout]
    119:         content = ERB.new(load_page(options[:layout])).result(lambda{})
    120:       end
    121:
    122:       return options[:status], options[:content_type], content
    123:     end