Class Iowa::If
In: src/DynamicElements.rb
Parent: Tag

Subclass of Tag that allows for optional sections within a template. Evaluation is simple. If the condition (the item referenced by the oid attribute in the tag) evaulates to true (Ruby’s notion of true) then the body of the <IF> tag will be displayed. Otherwise it will not be displayed.

Methods

Public Instance methods

[Validate]