Class: PageTemplate
- Inherits:
-
Object
- Object
- PageTemplate
- Defined in:
- lib/PageTemplate.rb,
lib/PageTemplate/case.rb,
lib/PageTemplate/parser.rb,
lib/PageTemplate/commands.rb,
lib/PageTemplate/htglossary.rb
Overview
case.rb
This is a demonstration of adding a non-default command to PageTemplate’s default glossary.
Note that it adds itself to the glossary =).
Defined Under Namespace
Modules: NamespaceItem Classes: BlockCommand, CaseCommand, Command, CommentCommand, DefaultGlossary, DefaultPreprocessor, DefineCommand, FileSource, FilterCommand, HTGlossary, IfCommand, IncludeCommand, LoopCommand, Namespace, Parser, Preprocessor, Source, StackableCommand, StringSource, SyntaxGlossary, Template, TextCommand, UnknownCommand, ValueCommand
Constant Summary collapse
- VERSION =
"2.2.3"
Class Method Summary collapse
-
.new(*args) ⇒ Object
Passes arguments straight to Parser.new.
Class Method Details
.new(*args) ⇒ Object
Passes arguments straight to Parser.new
returns: a Parser object.
37 38 39 |
# File 'lib/PageTemplate.rb', line 37 def PageTemplate.new(*args) Parser.new(*args) end |