| Class | PageTemplate::Template |
| In: |
lib/PageTemplate/commands.rb
|
| Parent: | BlockCommand |
Template#output is a special case for a Command. Because Template is what‘s returned by Parser.load() or Parser.parse(), the programmer may well call Template#output(anything).
If object is a Namespace, then treat output as a typical BlockCommand. If object is nil, then namespace is @parser. Otherwise, a new namespace is created, a child of @namespace, and is assigned object as its namespace