Class Radius::Parser
In: lib/radius.rb
Parent: Object

The Radius parser. Initialize a parser with a Context object that defines how tags should be expanded. See the QUICKSTART for a detailed explaination of its usage.


new   parse  


context  [RW]  The Context object used to expand template tags.
tag_prefix  [RW]  The string that prefixes all tags that are expanded by a parser (the part in the tag name before the first colon).

Public Class methods

Creates a new parser object initialized with a Context.

Public Instance methods

Parses string for tags, expands them, and returns the result.