# File lib/camping-unabridged.rb, line 291 291: def render(v, *a, &b) 292: if t = lookup(v) 293: r, @_r = @_r, o = Hash === a[-1] ? a.pop : {} 294: s = (t == true) ? mab{ send(v, *a, &b) } : t.render(self, o[:locals] || {}, &b) 295: s = render(L, o.merge(L => false)) { s } if o[L] or o[L].nil? && lookup(L) && (!r && v.to_s[0] != ?_) 296: s 297: else 298: raise "no template: #{v}" 299: end 300: end