| Class | PageTemplate::BlockCommand |
| In: |
lib/PageTemplate/commands.rb
|
| Parent: | Command |
BlockCommand provides a single interface to multiple Command objects. This should probably never be called by the designer or programmer, but by StackableCommands.
Adds command to the end of the BlockCommand‘s chain of Commands.
A TypeError is raised if the object being added is not a ((<Command>)).
Calls Command#output(namespace) on each Command contained in this object. The output is returned as a single string. If no output is generated, returns an empty string.